mirror of
https://github.com/angristan/openvpn-install.git
synced 2026-01-18 06:37:02 +01: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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user