View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#17
Originally Posted by coderus View Post
you may install/incept opensh for using root privilegeswithout password, or tou can write echo script to automatic writing root password to devel-su:
Code:
echo rootme | devel-su -c /sbin/reboot
ProfileMatic does not run the custom action in shell at the moment. So if you want something that uses shell commands (redirection or filename expansion), you must run it in shell.

For example put into custom action:

Code:
sh -c "echo rootme | devel-su -c /sbin/reboot"
Or see this "recipe" in ProfileMatic thread to ease running scripts as root:
http://talk.maemo.org/showpost.php?p...&postcount=884
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post: