diff options
author | royger <royger@FreeBSD.org> | 2015-02-10 13:07:08 +0000 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2015-02-10 13:07:08 +0000 |
commit | cfe0de95f1e1513e7efb7ef74270a20cd24661eb (patch) | |
tree | b46307a18e6ebaa804d2d5fa0c846bfffc21ccd3 /etc/rc.d | |
parent | 91ae04df56218209840ee25b11b2bf1238ee38d6 (diff) | |
download | FreeBSD-src-cfe0de95f1e1513e7efb7ef74270a20cd24661eb.zip FreeBSD-src-cfe0de95f1e1513e7efb7ef74270a20cd24661eb.tar.gz |
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.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/netif | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif index dd0dde2..62ad31f 100755 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -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 $* |