From 2649991675628f02185dc7fe416dde78f6d964ea Mon Sep 17 00:00:00 2001 From: randyoo Date: Fri, 29 Jun 2018 14:22:39 -0600 Subject: [PATCH] add wlan1 scan capability to sudoers commands --- installers/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installers/common.sh b/installers/common.sh index 95926ce5..23275cc6 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -230,6 +230,8 @@ function patch_system_files() { "/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan1.conf" "/sbin/wpa_cli -i wlan0 scan_results" "/sbin/wpa_cli -i wlan0 scan" + "/sbin/wpa_cli -i wlan1 scan_results" + "/sbin/wpa_cli -i wlan1 scan" "/sbin/wpa_cli reconfigure" "/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf" "/etc/init.d/hostapd start"