- openvpn-status now support all devices stats dump.

This commit is contained in:
AlkorZ3 committed 2025-06-29 20:05:57 +02:00
1 parent abb37d3708
commit 67300ede33
1 file changed
+6 -1
+6 -1
View File
@@ -2,4 +2,9 @@
dev=$1
cat /etc/openvpn/openvpn-status-$dev.log
if [[ "$1" != "" ]]
then
cat /etc/openvpn/openvpn-status-$dev.log
else
awk '{print FILENAME ": " $0}' /etc/openvpn/openvpn-status-*.log
fi