summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/netif
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/netif')
-rwxr-xr-xetc/rc.d/netif9
1 files changed, 1 insertions, 8 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index 06b8e76..f982cfc 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -34,7 +34,6 @@
. /etc/network.subr
name="network"
-start_precmd="network_prestart"
start_cmd="network_start"
stop_cmd="network_stop"
cloneup_cmd="clone_up"
@@ -42,13 +41,7 @@ clonedown_cmd="clone_down"
extra_commands="cloneup clonedown"
cmdifn=
-network_prestart()
-{
- if [ -n "$ipv6_enable" ]; then
- warn 'The ipv6_enable option is deprecated.'
- warn 'See rc.conf(5) for information on disabling IPv6.'
- fi
-}
+set_rcvar_obsolete ipv6_enable ipv6_prefer
network_start()
{
OpenPOWER on IntegriCloud