how to run a script at boot time?
Posted on September 28, 2008, 5:23 am, by Ianculov Vucomir, under
How To,
Linux.
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)
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