diff --git a/installers/common.sh b/installers/common.sh index 429dcbe..9ecbc5a 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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"