summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-08-10 06:11:10 +0000
committeradrian <adrian@FreeBSD.org>2015-08-10 06:11:10 +0000
commit49cc34c66b5c1534ac4e09b660885bf4a42507ed (patch)
tree8aab76009cc2debcc1985f23b30ea652fdb7434f /etc
parentcba886cc022a57f3a6bb7b604a19d6e1a9c9b89f (diff)
downloadFreeBSD-src-49cc34c66b5c1534ac4e09b660885bf4a42507ed.zip
FreeBSD-src-49cc34c66b5c1534ac4e09b660885bf4a42507ed.tar.gz
Finish reverting r286410 - sorry, I somehow missed this with svn commit.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/netif12
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index c7b84b9..0915b28 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -37,8 +37,6 @@ name="netif"
rcvar="${name}_enable"
start_cmd="netif_start"
stop_cmd="netif_stop"
-wlanup_cmd="wlan_up"
-wlandown_cmd="wlan_down"
cloneup_cmd="clone_up"
clonedown_cmd="clone_down"
clear_cmd="doclear"
@@ -67,9 +65,6 @@ netif_start()
trap : 2
fi
- # Create IEEE802.3 interface
- wlan_up $cmdifn
-
# Create cloned interfaces
clone_up $cmdifn
@@ -96,14 +91,12 @@ netif_start()
netif_stop()
{
_clone_down=1
- _wlan_down=1
netif_stop0 $*
}
doclear()
{
_clone_down=
- _wlan_down=
netif_stop0 $*
}
@@ -118,11 +111,6 @@ netif_stop0()
# Deconfigure the interface(s)
netif_common ifn_stop $cmdifn
- # Destroy wlan interfaces
- if [ -n "$_wlan_down" ]; then
- wlan_down $cmdifn
- fi
-
# Destroy cloned interfaces
if [ -n "$_clone_down" ]; then
clone_down $cmdifn
OpenPOWER on IntegriCloud