|
kill going down, start going up
98_LE
I think that this is fairly universal for all UNIX types. Typically, Knnn scripts only run on the way down.
I have HPUX and use runlevel 4 ( /sbin/rc4.d) to test) with I will put a Snnn script in /sbin/rc4.d and a Knnn in /sbin/rc3.d to kill it when I go back to init 3.
If you put a Kill in rc3.d it won't run when you shutdown because you aren't going down to init 3, thats where you are currently.
So, it has to be in a directory below where you are currently, typically init 3 is the default.
Sorry to be so simple in my explanation, but some uninitiated may read and be curious about this too.
This is something that most of us don't consider, but once in a great while. Usually only at configuration or upgrade time. So I know how you feel. I forget stuff everyday that I have to go back to the source and look up again.
Last edited by Kelam_Magnus; 04-05-2002 at 05:26 PM..
|