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