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

Added /bin/cp /etc/dhcpcd.conf to sudoers

This commit is contained in:
billz 2019-03-11 23:43:39 +00:00
parent 9abf79b23c
commit e30fb10da7

View File

@ -248,6 +248,7 @@ function patch_system_files() {
"/etc/init.d/dnsmasq start" "/etc/init.d/dnsmasq start"
"/etc/init.d/dnsmasq stop" "/etc/init.d/dnsmasq stop"
"/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf" "/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf"
"/bin/cp /tmp/dhcpddata /etc/dhcpcd.conf"
"/sbin/shutdown -h now" "/sbin/shutdown -h now"
"/sbin/reboot" "/sbin/reboot"
"/sbin/ip link set wlan[0-9] down" "/sbin/ip link set wlan[0-9] down"