summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-11-14 23:34:50 +0000
committerbrooks <brooks@FreeBSD.org>2005-11-14 23:34:50 +0000
commit267072f91c36769a3994a91f21382a9acc77974b (patch)
treef08460df623c0fe4e9db71dff9c7e9dec4e7944f /etc/rc.d
parentf30753dc685cc64419b3334ab1b9a49db265f00f (diff)
downloadFreeBSD-src-267072f91c36769a3994a91f21382a9acc77974b.zip
FreeBSD-src-267072f91c36769a3994a91f21382a9acc77974b.tar.gz
Add a new configuration variable, ipv4_addrs_<ifn>, which adds one or
more IPv4 address from a ranged list in CIRD notation: ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28" In the process move alias processing into new ipv4_up/down functions to more toward a less IPv4 centric world. Submitted by: Philipp Wuensche <cryx dash freebsd at h3q dot com>
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netif4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index b692ee3..e76b967 100644
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -150,7 +150,7 @@ ifn_start()
ifscript_up ${ifn} && cfg=0
ifconfig_up ${ifn} && cfg=0
- ifalias_up ${ifn} && cfg=0
+ ipv4_up ${ifn} && cfg=0
ipx_up ${ifn} && cfg=0
return $cfg
@@ -165,7 +165,7 @@ ifn_stop()
[ -z "$ifn" ] && return 1
ipx_down ${ifn} && cfg=0
- ifalias_down ${ifn} && cfg=0
+ ipv4_down ${ifn} && cfg=0
ifconfig_down ${ifn} && cfg=0
ifscript_down ${ifn} && cfg=0
OpenPOWER on IntegriCloud