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

Update openvpn-client sudoers

This commit is contained in:
billz 2019-11-16 17:42:55 +00:00
parent d10d349e9a
commit e0bb18b283

View File

@ -285,8 +285,8 @@ function patch_system_files() {
"/bin/systemctl stop hostapd.service" "/bin/systemctl stop hostapd.service"
"/bin/systemctl start dnsmasq.service" "/bin/systemctl start dnsmasq.service"
"/bin/systemctl stop dnsmasq.service" "/bin/systemctl stop dnsmasq.service"
"/bin/systemctl start openvpn-client" "/bin/systemctl start openvpn-client@client"
"/bin/systemctl stop openvpn-client" "/bin/systemctl stop openvpn-client@client"
"/bin/cp /tmp/ovpnclient.ovpn /etc/openvpn/client.conf" "/bin/cp /tmp/ovpnclient.ovpn /etc/openvpn/client.conf"
"/bin/cp /tmp/authdata /etc/openvpn/login.conf" "/bin/cp /tmp/authdata /etc/openvpn/login.conf"
"/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.conf" "/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.conf"