initial commit

This commit is contained in:
Alex Kelly 2024-03-01 16:32:45 -05:00
commit 281484e41a
3 changed files with 274 additions and 0 deletions

3
scripts/fortivpn.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
STATUS=$(forticlient vpn status|grep Status:|cut -d: -f2|tr '[:upper:]' '[:lower:]'|xargs)
echo "{ \"status\": \"$STATUS\", \"alt\": \"$STATUS\", \"tooltip\": \"$STATUS\" }"