bash script symlinked in rc0.d doesn't execute
I have a VERY simple bash script that I want to sent an instruction to another PC on the LAN on shutdown.
The script itself works fine when called from the command line.
My understanding is that the script should be saved in /etc/init.d and then sym linked in /etc/rc0.d -which I have done. I have called the symlink /etc/rc0.d/K01chkserver
The symlink executes OK from the command line. No errors.
However, the script never executes on shutdown.
Any clues as to what I am doing wrong.
Last edited by FrizzledOldButt; 06-25-2016 at 09:01 PM.
Reason: syntax correction
|