[Linux-Discussion] Re: Start up and Shutdown Scripts

  • From: "John Madden" <weez@xxxxxxxxxxxxxxxx>
  • To: <linux-discussion@xxxxxxxxxxxxx>
  • Date: Tue, 18 May 2004 18:25:34 -0500 (EST)

> I thought about that (rcN.d) and it works for startup, but I need the
> Shutdown notification script has to run before network service is
> stopped. If I stick a symlink in rc0.d I don't think it'll run before
> the network service is stopped, because the K's are run before the S's.

Yep, the K's are, so just make sure there's a KNpageme where N is lower
than the N in the K script that shuts down your interfaces.

John






-- 
# John Madden,  weez@xxxxxxxxxxxxxxxx
# Shameless plug: MailandFiles.com - Premium E-Mail and Files




Other related posts: