From f87307357006343b43b7eaafe652daa097df2d6b Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 28 Mar 2018 10:13:44 +0000 Subject: [PATCH] Hotfix: specify interface with wpa_cli in patch_system_files(). Addresses #163 --- installers/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"