1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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

View File

@ -238,7 +238,8 @@ function patch_system_files() {
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf" "/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_results"
"/sbin/wpa_cli -i wlan[0-9] scan" "/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" "/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
"/etc/init.d/hostapd start" "/etc/init.d/hostapd start"
"/etc/init.d/hostapd stop" "/etc/init.d/hostapd stop"