Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2011 09:10:27 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, re@FreeBSD.org, svn-src-all@freebsd.org, src-committers@freebsd.org, freebsd-rc@FreeBSD.org
Subject:   Re: svn commit: r225669 - head/etc/rc.d
Message-ID:  <4E776973.9000409@FreeBSD.org>
In-Reply-To: <201109191555.p8JFtruR086396@svn.freebsd.org>
References:  <201109191555.p8JFtruR086396@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Please don't add new instances of BEFORE in base rc.d scripts. The
proper way to do this is to add bridge to REQUIRE: in SERVERS.

The BEFORE method is useful for local/ports rc.d scripts, but it makes
debugging of dependency issues more difficult so ideally it should be
avoided in the base if it's not absolutely necessary (which it is not
here).


Thanks,

Doug


On 09/19/2011 08:55, Hiroki Sato wrote:
> Author: hrs
> Date: Mon Sep 19 15:55:53 2011
> New Revision: 225669
> URL: http://svn.freebsd.org/changeset/base/225669
> 
> Log:
>   Fix the script order to run rc.d/bridge after the initial network
>   interface configuration and before running network daemons.
>   
>   Approved by:	re (kib)
> 
> Modified:
>   head/etc/rc.d/bridge
> 
> Modified: head/etc/rc.d/bridge
> ==============================================================================
> --- head/etc/rc.d/bridge	Mon Sep 19 15:31:12 2011	(r225668)
> +++ head/etc/rc.d/bridge	Mon Sep 19 15:55:53 2011	(r225669)
> @@ -26,7 +26,8 @@
>  #
>  
>  # PROVIDE: bridge
> -# REQUIRE: netif
> +# REQUIRE: netif faith ppp stf
> +# BEFORE: SERVERS
>  # KEYWORD: nojail
>  
>  . /etc/rc.subr
> 



-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E776973.9000409>