add wlan1 scan capability to sudoers commands

This commit is contained in:
randyoo
2018-06-29 14:22:39 -06:00
committed by GitHub
parent 55c6e332cc
commit 2649991675

View File

@@ -230,6 +230,8 @@ function patch_system_files() {
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan1.conf" "/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan1.conf"
"/sbin/wpa_cli -i wlan0 scan_results" "/sbin/wpa_cli -i wlan0 scan_results"
"/sbin/wpa_cli -i wlan0 scan" "/sbin/wpa_cli -i wlan0 scan"
"/sbin/wpa_cli -i wlan1 scan_results"
"/sbin/wpa_cli -i wlan1 scan"
"/sbin/wpa_cli reconfigure" "/sbin/wpa_cli reconfigure"
"/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf" "/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
"/etc/init.d/hostapd start" "/etc/init.d/hostapd start"