From edcc8ce016cecf343d2c686d9924193e9e2405e3 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 31 Mar 2020 00:09:51 +0000 Subject: [PATCH] Update w/ adblock commands --- installers/raspap.sudoers | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installers/raspap.sudoers b/installers/raspap.sudoers index ee201fcb..517fbdef 100644 --- a/installers/raspap.sudoers +++ b/installers/raspap.sudoers @@ -13,6 +13,7 @@ www-data ALL=(ALL) NOPASSWD:/bin/systemctl start hostapd.service www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop hostapd.service www-data ALL=(ALL) NOPASSWD:/bin/systemctl start dnsmasq.service www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop dnsmasq.service +www-data ALL=(ALL) NOPASSWD:/bin/systemctl restart dnsmasq.service www-data ALL=(ALL) NOPASSWD:/bin/systemctl start openvpn-client@client www-data ALL=(ALL) NOPASSWD:/bin/systemctl enable openvpn-client@client www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop openvpn-client@client @@ -34,4 +35,6 @@ www-data ALL=(ALL) NOPASSWD:/etc/raspap/lighttpd/configport.sh www-data ALL=(ALL) NOPASSWD:/etc/raspap/openvpn/configauth.sh www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/hostapd.log www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/dnsmasq.log +www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_adblock.conf +www-data ALL=(ALL) NOPASSWD:/etc/raspap/adblock/update_blocklist.sh