Quoth Brian Kolaci on Fri, Jul 28, 2006 at 11:38:10AM -0400: > In a zone, if you have a script say /etc/rc2.d/K99test, it doesn't > get executed. I even tried adding an /etc/rc2.d/S99test but then > only the start script gets executed, not the stop script. > > If I move the scripts into /etc/rc3.d then both scripts do work. > > Why doesn't the /etc/rc2.d kill/stop script work ?
Doesn't get executed when? /etc/rc2.d/K* scripts should only be executed when transitioning from runlevels 3 or 4 to runlevel 2. I assume you want scripts to be executed on shutdown or reboot, in which case you need to place the script in /etc/rc0.d . David