From 476d768d32b06570be698dd0cfc2a4cdb54dfc40 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 26 Sep 2022 22:17:14 +0200 Subject: ws/minet: fix conflicts with systemd-(networkd|resolved) --- roles/ws/minet/templates/connections/tugWireVpnc.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roles/ws/minet/templates/connections/tugWireVpnc.j2') diff --git a/roles/ws/minet/templates/connections/tugWireVpnc.j2 b/roles/ws/minet/templates/connections/tugWireVpnc.j2 index 1e261313..cf360665 100755 --- a/roles/ws/minet/templates/connections/tugWireVpnc.j2 +++ b/roles/ws/minet/templates/connections/tugWireVpnc.j2 @@ -18,8 +18,7 @@ case "$1" in echo "Disconnecting from $DESC_NAME" kill `cat /var/run/vpnc.$SHORT_NAME.pid` rm -f /var/run/vpnc.$SHORT_NAME.pid - kill `cat /var/run/dhclient.$SHORT_NAME.pid` - rm -f /var/run/dhclient.$SHORT_NAME.pid + dhclient -x -pf /var/run/dhclient.$SHORT_NAME.pid deactivate_interface $INTERFACE $MODULE_NAME ;; *) -- cgit v1.2.3