Thread
:
How to automatically run a script when SD is mounted?
View Single Post
qwerty12
2008-08-25 , 11:43
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
2
To answer the topic question:
If the card is a vfat card, edit /usr/sbin/mmc-mount and put "exec /usr/local/bin/backup_syslogs.sh" at the end. If it's an ext* one, edit /usr/sbin/osso-mmc-mount.sh and find the right section depending on fs to shove that line in.
Quote & Reply
|
The Following User Says Thank You to qwerty12 For This Useful Post:
iamthewalrus
qwerty12
View Public Profile
Find all posts by qwerty12