Hi Doug,

* Doug Barton <do...@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 <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgpAOhERpqM1y.pgp
Description: PGP signature

Reply via email to