1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"