Skip to content

Instantly share code, notes, and snippets.

View ygorcrod's full-sized avatar

Ygor CR ygorcrod

  • Brain
  • Universe
View GitHub Profile
@ygorcrod
ygorcrod / forti-fix.sh
Created July 22, 2023 17:57 — forked from SydoxX/forti-fix.sh
Fixes Forticlient 7.0.7
#!/bin/bash
echo "Try to connect to the VPN now"
x=99
while [ $x -ne 0 ]
do
echo "Waiting for VPN connection..."
sleep 1
connection=$(nmcli connection show | grep -oP '^vpn\S*')
x=$?