mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-05 14:04:23 +02:00
Full path to remove include openvpn.conf
Full path to remove include of /etc/unbound/unbound.conf.d/openvpn.conf, and missing ":" after the "include".
This commit is contained in:
parent
d744222674
commit
6e21a54081
@ -1094,7 +1094,7 @@ function revokeClient () {
|
|||||||
|
|
||||||
function removeUnbound () {
|
function removeUnbound () {
|
||||||
# Remove OpenVPN-related config
|
# Remove OpenVPN-related config
|
||||||
sed -i '/include .*\/openvpn.conf/d' /etc/unbound/unbound.conf
|
sed -i '/include: \/etc\/unbound\/unbound\.conf\.d\/openvpn\.conf/d' /etc/unbound/unbound.conf
|
||||||
rm /etc/unbound/unbound.conf.d/openvpn.conf
|
rm /etc/unbound/unbound.conf.d/openvpn.conf
|
||||||
systemctl restart unbound
|
systemctl restart unbound
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user