openvpn.sh: Add log tail function
* Add ability to tail log file as original repo did.
This commit is contained in:
parent
7944bcd9fe
commit
161acca6a2
@ -150,6 +150,9 @@ case "$cmd" in
|
|||||||
openvpn)
|
openvpn)
|
||||||
do_openvpn "$@"
|
do_openvpn "$@"
|
||||||
;;
|
;;
|
||||||
|
log)
|
||||||
|
tail -F /tmp/openvpn-status-1194.log
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
abort "Unknown cmd \"$cmd\""
|
abort "Unknown cmd \"$cmd\""
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user