Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2015 13:07:09 +0000 (UTC)
From:      Roger Pau Monné <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278506 - head/etc/rc.d
Message-ID:  <201502101307.t1AD79k8090253@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: royger
Date: Tue Feb 10 13:07:08 2015
New Revision: 278506
URL: https://svnweb.freebsd.org/changeset/base/278506

Log:
  rc.d: load the network config file for netif
  
  r272959 broke compatibility with mfsBSD that stores the default network
  config file in /etc/rc.conf.d/network. In order to fix that load the network
  config file from netif also.

Modified:
  head/etc/rc.d/netif

Modified: head/etc/rc.d/netif
==============================================================================
--- head/etc/rc.d/netif	Tue Feb 10 12:38:39 2015	(r278505)
+++ head/etc/rc.d/netif	Tue Feb 10 13:07:08 2015	(r278506)
@@ -252,5 +252,8 @@ netif_common()
 	debug "The following interfaces were not configured: $_fail"
 }
 
+# Load the old "network" config file also for compatibility.
+# This is needed for mfsBSD at least.
+load_rc_config network
 load_rc_config $name
 run_rc_command $*



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