description "MyDocs on" start on started hildon-desktop stop on starting shutdown console none service script # umounting /dev/mmcblk0p1, just in case something was screwed up bizzarely, and it get mounted somewhere else by boot scripts umount /dev/mmcblk0p1 #mounting MyDocs exactly the way it should be mounted on boot mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir end script
#!/bin/sh # Mounting eMMC partition 1 mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir # Printing info dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"eMMC vFAT mounted, MyDocs is available"