Added wpa_cli -i wlan[0-9] select_network, thanks @PRO2XY

This commit is contained in:
billz 2018-11-13 22:21:02 +00:00
parent 211208e7a7
commit 22976669ee
1 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,8 @@ function patch_system_files() {
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf"
"/sbin/wpa_cli -i wlan[0-9] scan_results"
"/sbin/wpa_cli -i wlan[0-9] scan"
"/sbin/wpa_cli reconfigure"
"/sbin/wpa_cli -i wlan[0-9] reconfigure"
"/sbin/wpa_cli -i wlan[0-9] select_network"
"/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
"/etc/init.d/hostapd start"
"/etc/init.d/hostapd stop"