5 lines
126 B
Bash
5 lines
126 B
Bash
|
|
#!/bin/sh
|
|
|
|
printf "VPN: " && (pgrep -a openvpn$ | head -n 1 | awk '{print $NF }' | cut -d '.' -f 1 && echo down) | head -n 1
|