Use ip instead of ifconfig, which is deprecated and breaks on the latest stretch, for me

This commit is contained in:
mmcwilliams 2019-03-27 18:26:33 -04:00
parent 52a5038b1a
commit 46c497bd54
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const quoteRe = new RegExp('"', 'g')
const filePath = '/etc/wpa_supplicant/wpa_supplicant.conf'
const reconfigure = '/sbin/wpa_cli reconfigure'
const refresh = '/sbin/ifdown wlan0 && /sbin/ifup --force wlan0'
const refresh = 'ip link set wlan0 down && ip link set wlan0 up'
const iwlist = '/sbin/iwlist wlan0 scanning | grep "ESSID:"'
const iwgetid = '/sbin/iwgetid'