Quote:
Originally Posted by elinkser
# cat /etc/udev/rules.d/99-mmc.rules
Code:
KERNEL=="loop0", RUN+="/bin/sh /etc/init.d/startbrowser.sh &"
# cat /etc/init.d/startbrowser.sh
Code:
/bin/touch /mnt/onboard/.adds/hi0
sleep 20
/bin/touch /mnt/onboard/.adds/hi20
# reboot
# cd /mnt/onboard/.adds/
# ls hi*
hi0
# ls hi*
hi0
# ls hi*
hi0 hi20
|
Nope, unfortunately not working. No hi*-files in .adds.
FYI: My mount looks like the following:
Code:
[root@kobo .adds]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
none on /proc type proc (rw,relatime)
none on /tmp type tmpfs (rw,relatime)
none on /dev type tmpfs (rw,relatime)
none on /var/lib type tmpfs (rw,relatime,size=16k)
none on /var/log type tmpfs (rw,relatime,size=16k)
none on /var/run type tmpfs (rw,relatime,size=128k)
none on /sys type sysfs (rw,relatime)
/dev/mmcblk0p3 on /mnt/onboard type vfat (rw,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
devpts on /dev/pts type devpts (rw,relatime,mode=600)