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

Ed Schouten ed at 80386.nl
Sat Feb 11 23:21:41 UTC 2012


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? 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.

%%%
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
%%%

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120211/5e650112/attachment.pgp


More information about the svn-src-all mailing list