Date: Thu, 15 Apr 2010 09:28:02 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-rc@freebsd.org Subject: Re: Trivial PR, fix shutdown of rc services started with onestart (fwd) Message-ID: <4BC6CE12.7020305@infracaninophile.co.uk> In-Reply-To: <4BC62E4C.2060700@bsdforen.de> References: <alpine.BSF.2.00.1004141308080.15709@qbhto.arg> <4BC62E4C.2060700@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/04/2010 22:06:20, Dominic Fandrey wrote: > I'm running with variations of this for more than a year and not once > have I been able to detect unwanted side effects. > However, I can assure you it has spared me a lot of problems. There were some rc scrips in /etc/rc.d that always did the 'start' action no matter what argument they were called with. I think all of those have been fixed to recognize a 'stop' argument now, but whether this also applies to a 'onestop' I can't tell. /etc/rc.d/tmp is an example -- notice that the script action isn't encapsulated as a tmp_start function. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvGzhIACgkQ8Mjk52CukIwljQCfWO2i5x17ZDCrUlgs9SbHrLCb I4UAn16HSwcxEUSfJV3ZUEHWkvfzIWT0 =WTPE -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC6CE12.7020305>