I want to execute this script at Linux boot.
I have put this ping01 file into /etc/init.d but it doesn’t run at boot.
When I run this script from console:
#./ping01
it works.
Regards
GN[/QUOTE]
actually, no script is run from /etc/init.d… at least not by simply being there. Those LSB scripts are typically invoked via their S* (for “run at startup”) and K* (for “kill on shutdown”) symlinks in /etc/init.d/rc*.d.
If you just want to invoke a script on startup, have a look at calling it from /etc/init.d/boot.local, to avoid warnings/errors for not having LSB-conforming headers in your script.
If you share some more details of what you’re trying to achieve, we might be able to assist with other side-effects to consider.