openvpn.sh: Add log tail function

* Add ability to tail log file as original repo did.
This commit is contained in:
Kyle Manna 2014-06-04 09:29:17 -07:00
parent 7944bcd9fe
commit 161acca6a2

View File

@ -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\""
;; ;;