]> git.ozlabs.org Git - ppp.git/blob - scripts/plog
Added a man page for pon/poff/plog and plog to display the end of the ppp log.
[ppp.git] / scripts / plog
1 #!/bin/sh
2
3 if [ -s /var/log/ppp.log ]; then
4   exec tail "$@" /var/log/ppp.log
5 else
6   exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
7 fi