View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1557
Originally Posted by Garp View Post
Re this issue I have an old unsolved problem due to test button and custom action content:
Re custom action Network you said action to be:
sh /home/user/scripts/execroot.sh "/sbin/initctl restart xsession/icd2"
which did't work but this from Schturman worked:
sh -c "echo rootme | devel-su -c '/sbin/initctl restart xsession/icd2'"

see: http://talk.maemo.org/showthread.php...14#post1373614

I have same problem where test button don't work with action:
sh /home/user/scripts/execroot.sh /home/user/scripts/restartbme.sh
http://talk.maemo.org/showpost.php?p...&postcount=885

Should this action be changed due to something like above from Schturman?
The execroot version should work just the same. If it doesn't, there's probably a bug in the script. I'll double check this when I have time and modify accordingly. Nothing wrong with using Schturman's version, perhaps it's even clearer.
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post: