Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 1997 12:30:57 +0100
From:      Ian Vaudrey <i.vaudrey@cableinet.co.uk>
To:        "'FreeBSD-ports'" <freebsd-ports@FreeBSD.ORG>
Subject:   RE: rc.shutdown
Message-ID:  <01BCD31D.0BA36060@nemkoltd.nildram.co.uk>

next in thread | raw e-mail | index | archive | help
Does anyone have a sample/skeleton script that respects `start'
and `stop' arguments that they don't mind sharing?

TIA

 - Ian

On 03 August 1997 06:38, Satoshi Asami wrote:
>  * Btw., this now requires a sweep over the ports tree, so those ports
>  * that install a /usr/local/etc/rc.d/*.sh file can be converted to
>  * distinguish between `start' and `stop' arguments.  /etc/rc used to
>  * call these scripts with `start' for quite some time already, but the
>  * scripts usually ignore it (AFAIK).  Once this is done, rc.shutdown
>  * could implement the complementary calls to /etc/rc.
> 
> Oh my goodness.  Thanks for pointing this out Joerg, I didn't realize
> that.  Hey porters, did you hear that? ;)
> 
> This brings up a very interesting problem though...that is, most ports 
> don't install the script if it already exists.  We need to be much
> more intelligent than that (for obvious reasons)....
> 
> Satoshi
> 
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BCD31D.0BA36060>