- openvpn-status now support all devices stats dump.
This commit is contained in:
@@ -2,4 +2,9 @@
|
|||||||
|
|
||||||
dev=$1
|
dev=$1
|
||||||
|
|
||||||
|
if [[ "$1" != "" ]]
|
||||||
|
then
|
||||||
cat /etc/openvpn/openvpn-status-$dev.log
|
cat /etc/openvpn/openvpn-status-$dev.log
|
||||||
|
else
|
||||||
|
awk '{print FILENAME ": " $0}' /etc/openvpn/openvpn-status-*.log
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user