[UCLA-LUG] Running something at shutdown?
Dimi Shahbaz
dimator@fire.csua.ucla.edu
Wed, 3 May 2000 12:11:50 -0700 (PDT)
Well, every time I want to reboot, and I have an SMB mount still mounted,
the machine hangs in the middle of the shutdown/umounting partitions
sequence, and I have to press reset. Where can I put a little scripty to
handle unmounting of SMB mounts before it hangs? I know shutting down is
runlevel 6 (right?) but does that mean I can put a little scripty under
/etc/rc.d/rc6.d (mandrake)? If so, when in the shutdown sequence will the
script be run (before everything else?)
Can the script be something other than a shell script (ie, perl)?
TIA
Dimi