Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- vpnstate="$(/usr/syno/bin/synovpnc get_conn)"
- if [[ $vpnstate =~ "No connection!!" ]]; then
- /usr/syno/bin/synonotify VpncReconnectFail "{\"%VPN_CLIENT%\": \"VPN\"}"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement