Fix sed line deletion part 2
This commit is contained in:
parent
7688483766
commit
a8c1e2a380
1 changed files with 1 additions and 1 deletions
|
|
@ -1128,7 +1128,7 @@ function revokeClient () {
|
||||||
|
|
||||||
function removeUnbound () {
|
function removeUnbound () {
|
||||||
# Remove OpenVPN-related config
|
# Remove OpenVPN-related config
|
||||||
sed -i 's|include: \/etc\/unbound\/openvpn.conf||' /etc/unbound/unbound.conf
|
sed -i '/include: \/etc\/unbound\/openvpn.conf/d' /etc/unbound/unbound.conf
|
||||||
rm /etc/unbound/openvpn.conf
|
rm /etc/unbound/openvpn.conf
|
||||||
systemctl restart unbound
|
systemctl restart unbound
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue