Use ip instead of ifconfig, which is deprecated and breaks on the latest stretch, for me
This commit is contained in:
parent
52a5038b1a
commit
46c497bd54
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue