Please do the Following step:
- Write a script file(Eg: new_script).
- make it executable (Eg:chmod +x new_script ).
- Copy the script in to /etc/init.d/
- ln -s /etc/init.d/new_script /etc/rc5.d/S50new_script
- ln -s /etc/init.d/new_script /etc/rc5.d/K50new_script
- Restart the machine.
No comments:
Post a Comment