Thread: Startup script with root privileges
i want add script start @ boot or login & needs root privileges.
running script terminal works (wifi led turns off) won't start @ boot. tried adding init.d & running update-rc.d & nothing. tried adding root access file using visudo nopasswd & nothing. doesn't work adding startup applications either.code:sudo echo none > /sys/class/leds/iwl-phy0::rx/trigger sudo echo none > /sys/class/leds/iwl-phy0::tx/trigger sudo echo none > /sys/class/leds/iwl-phy0::radio/trigger sudo echo none > /sys/class/leds/iwl-phy0::assoc/trigger
ideas?
this post #7 http://ubuntuforums.org/showthread.php?t=181041there file called /etc/init.d/rc.local
run last (after of other startup scripts)
it's runs root
remove sudo's script executed root anyway.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Startup script with root privileges
Ubuntu
Comments
Post a Comment