Active Topics

 


Reply
Thread Tools
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#1
Does this script make sense?

Code:
start on started hildon-desktop
stop on starting shutdown
console none
service

script

sudo gainroot
/home/user # cd MyDocs/wl1251-maemo/binary/compat-wireless
/home/user/MyDocs/wl1251-maemo/binary/compat-wireless # sh load.sh

end script
 
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#2
Not really.
This script will be run as root so the "sudo gainroot" is unnecessary, also the bit before the hash symbol isn't actually part of the command, it is just displayed in the terminal for your information.

Try:
Code:
start on started hildon-desktop
stop on starting shutdown
console none
service

script

cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless
sh load.sh

end script
This should work, I think, but I didn't test it.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:47.