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"