Hello !

I have a strange problem with a self written script which shall be 
executed when shutdown or switching runlevels.
I put a symbolic link (called K99boot.local) in /etc/rc.d/rc3.d
which points to my script (called boot.local) in /etc/rc.d/init.d.
When I call the script with K99boot.local stop then the script works
perfect. But when I switch from runlevel 3 to e.g. 2 nothing happens,
same problem when I reboot or halt.
It seems as init doesnt recognize my kill script.

The strange thing is when I rename K99boot.local to S99boot.local then
the script works while booting up or switching runlevels.
Now init recognizes my script.

When the script is named K99 it doesnt work, but when it is called S99
it works.

On the other hand  my script has no errors because it works with start 
and stop parameters when I call it by hand.

Any ideas ?

Greetings - Jens

Reply via email to