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:
parent
55c6e332cc
commit
2649991675
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user