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
1 changed files with 1 additions and 1 deletions
|
@ -1094,7 +1094,7 @@ function revokeClient () {
|
|||
|
||||
function removeUnbound () {
|
||||
# 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
|
||||
systemctl restart unbound
|
||||
|
||||
|
|
Loading…
Reference in a new issue