Update 2024-01-17 18:18 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-01-17 18:18:42 +01:00
parent 1c1601e258
commit ca61530b02
14 changed files with 90 additions and 22 deletions

View File

@@ -16,6 +16,7 @@ then
then
doas wg-quick down $ACTIVE && NOTIFY_CMD "VPN: disconnected"
sleep 1
doas ifconfig trunk0 inet6 autoconf
fi
exit 0
fi
@@ -32,6 +33,9 @@ if [ ! -z "$ACTIVE" ]
then
doas wg-quick down $ACTIVE && NOTIFY_CMD "VPN: disconnected"
sleep 1
doas ifconfig trunk0 inet6 autoconf
fi
doas ifconfig trunk0 -inet6
sleep 1
doas wg-quick up vpn && NOTIFY_CMD "VPN: $HOST"