3 lines
186 B
Bash
Executable file
3 lines
186 B
Bash
Executable file
#!/bin/bash
|
|
STATUS=$(forticlient vpn status|grep Status:|cut -d: -f2|tr '[:upper:]' '[:lower:]'|xargs)
|
|
echo "{ \"status\": \"$STATUS\", \"alt\": \"$STATUS\", \"tooltip\": \"$STATUS\" }"
|