diff --git a/installers/common.sh b/installers/common.sh index 9dc37a89..2bf9152f 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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"