Your script should be in /etc/init.d/ directory. Then you have to make a symlink from your run-level directory. I.e you’re in run-level 5 (multiuser with X) [code='sh']chmod +x
cp /etc/init.d ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50 ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50
[/code]
Name (required)
Mail (will not be published) (required)
Website
0 Responses to “how to run a script at boot time?”