Bring down zombie VPN before brining it up

This commit is contained in:
Greg Hellings
2024-11-08 10:34:20 -06:00
parent 1a3a26fbb9
commit 6266012e22
+1
View File
@@ -18,6 +18,7 @@ def bw_unlock():
return token
def vpn(con, bwname):
nmcli c down @(con)
bw_unlock()
base=$(bw get password @(bwname))
secret=$(bw get totp @(bwname))