summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2017-01-07 19:59:42 -0600
committerRobby Workman <rworkman@slackware.com>2017-07-11 16:58:52 -0500
commit764f4c2d9d3a8ebcb3ff8b9dce27817788ecfffe (patch)
tree39ad743b40519b3ce428208004d037873c20157a
parentbe16cd097aceae6dd31428dbf1b601d22c92ecaf (diff)
downloadslacknetsetup-764f4c2d9d3a8ebcb3ff8b9dce27817788ecfffe.tar.xz
rc.wireless: Migrate ifconfig --> ip link set dev $IF
-rw-r--r--rc.wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.wireless b/rc.wireless
index 51623d5..b968c9f 100644
--- a/rc.wireless
+++ b/rc.wireless
@@ -84,7 +84,7 @@ done
IWCOMMAND="$IWPATH/iwconfig ${INTERFACE}"
IWPRIVCMD="$IWPATH/iwpriv ${INTERFACE}"
IWSPYCMD="$IWPATH/iwspy ${INTERFACE}"
-IFCOMMAND="/sbin/ifconfig ${INTERFACE}"
+IFCOMMAND="/sbin/ip link set dev ${INTERFACE}"
is_wireless_device ()
{