summaryrefslogtreecommitdiffstats
path: root/rc.wireless
diff options
context:
space:
mode:
Diffstat (limited to 'rc.wireless')
-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 ()
{