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
ln -s /etc/init.d/
ln -s /etc/init.d/
[/code]
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
ln -s /etc/init.d/
ln -s /etc/init.d/
[/code]