I have script and I want it to run when my system reboot.
I put the script in /etc/init.d/superscript
and add script to end of the rc.local
bash /etc/init.d/superscript
# i also test this
source /etc/init.d/superscript
but nothing happened when I rebooted the system.
The file script have 755 perm.
What is the problem?