Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 1995 10:13:31 -0700 (PDT)
To: (dennis)
Subject:   Re: T1 Card and FreeBSD
Message-ID:  <199510141713.KAA00505@everest>
In-Reply-To: <> from "dennis" at Oct 14, 95 12:55:32 pm

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> >would you know the file it runs when a freebsd does a shutdown? I want to 
> >put that line uust before it syncs the disks. In linux it was 
> >/etc/rc.d/rc.0 but I can't see what freebsd uses. 
> >

> I don't know, I'm copying this to the freebsd list......

> you could create a file called "doshutdown" like this

> /usr/hdlc/utils/et5reset
> shutdown

> and use it instead of shutdown.....

A quick look at the shutdown man page leads me to believe that there's
no script run by shutdown.

However, it should be possible to hack the shutdown source to do what
you want.  I'm not a C expert, but it seems that you could fork another
process that'd execute whatever scripts that you wanted and wait for

Want to link to this message? Use this URL: <>