From 22976669eeab5e9d16f64499d0a834a219c40736 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 13 Nov 2018 22:21:02 +0000 Subject: [PATCH] Added wpa_cli -i wlan[0-9] select_network, thanks @PRO2XY --- installers/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 429dcbef..9ecbc5a2 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"