diff options
author | brooks <brooks@FreeBSD.org> | 2005-11-14 23:34:50 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-11-14 23:34:50 +0000 |
commit | 267072f91c36769a3994a91f21382a9acc77974b (patch) | |
tree | f08460df623c0fe4e9db71dff9c7e9dec4e7944f /etc/rc.d/netif | |
parent | f30753dc685cc64419b3334ab1b9a49db265f00f (diff) | |
download | FreeBSD-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/netif')
-rw-r--r-- | etc/rc.d/netif | 4 |
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 |