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

Hotfix: specify interface with wpa_cli in patch_system_files(). Addresses #163

This commit is contained in:
billz 2018-03-28 10:13:44 +00:00
parent 2a05284be6
commit f873073570

View File

@ -228,8 +228,8 @@ function patch_system_files() {
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf"
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan0.conf"
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan1.conf"
"/sbin/wpa_cli scan_results"
"/sbin/wpa_cli scan"
"/sbin/wpa_cli -i wlan0 scan_results"
"/sbin/wpa_cli -i wlan0 scan"
"/sbin/wpa_cli reconfigure"
"/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
"/etc/init.d/hostapd start"