Update 2024-01-17 18:18 OpenBSD/amd64-x13
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user