Sample Header Ad - 728x90

Openbox root autostart?

0 votes
1 answer
1707 views
I want to run a script as root when the computer starts. This was earlier done in rc.local, but not anymore. What I've tried: - putting the script in /etc/profile.d - adding the /pathto/script.sh in /etc/profile - added /pathto/script.sh & in /etc/xdg/openbox/autostart The script is for setting things powertop recommends; the script works just fine when I run sudo /pathto/script.sh.
Asked by Gunnish (193 rep)
May 7, 2013, 03:33 PM
Last activity: Oct 11, 2016, 08:16 AM