svn commit: r231534 - in head: etc/rc.d sbin/init

Doug Barton dougb at FreeBSD.org
Sat Feb 11 23:46:09 UTC 2012


On 02/11/2012 15:21, Ed Schouten wrote:
> Hi Doug,
> 
> * Doug Barton <dougb at FreeBSD.org>, 20120211 23:58:
>> New scripts in the base should not use BEFORE. Rather, LOGIN should
>> REQUIRE this script.
> 
> You mean like this?

Yes, thanks.

> I noticed there are still over 60 occurrences of
> BEFORE in the tree. Looks like there's still quite a lot of work to do
> to get rid of it then.

Quite. I tackle them when I can, but the goal at this point is to avoid
making the problem any worse. :)


Doug

> %%%
> Index: etc/rc.d/utx
> ===================================================================
> --- etc/rc.d/utx	(revision 231534)
> +++ etc/rc.d/utx	(working copy)
> @@ -5,7 +5,6 @@
>  
>  # PROVIDE: utx
>  # REQUIRE: DAEMON cleanvar
> -# BEFORE:  LOGIN
>  # KEYWORD: shutdown
>  
>  . /etc/rc.subr
> Index: etc/rc.d/LOGIN
> ===================================================================
> --- etc/rc.d/LOGIN	(revision 231514)
> +++ etc/rc.d/LOGIN	(working copy)
> @@ -4,7 +4,7 @@
>  #
>  
>  # PROVIDE: LOGIN
> -# REQUIRE: DAEMON
> +# REQUIRE: DAEMON utx
>  
>  #	This is a dummy dependency to ensure user services such as xdm,
>  #	inetd, cron and kerberos are started after everything else, in case
> %%%
> 



-- 

	It's always a long day; 86400 doesn't fit into a short.

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120211/d4cc1fc1/signature.pgp


More information about the svn-src-all mailing list