If the script name is script.sh, then do the following steps and also make sure that the script is executable :
sudo cp script.sh /etc/init.d sudo ln -s /etc/init.d/script.sh /etc/rc0.d/K10script.sh sudo ln -s /etc/init.d/script.sh.sh /etc/rc6.d/K10script.sh
No comments:
Post a Comment