11 lines
168 B
Bash
Executable File
11 lines
168 B
Bash
Executable File
#!/bin/bash
|
|
|
|
dev=$1
|
|
|
|
if [[ "$1" != "" ]]
|
|
then
|
|
cat /etc/openvpn/openvpn-status-$dev.log
|
|
else
|
|
awk '{print FILENAME ": " $0}' /etc/openvpn/openvpn-status-*.log
|
|
fi
|