PKGBUILDs/core/ppp/plog
2010-04-07 22:26:02 -05:00

7 lines
146 B
Bash
Executable file

#!/bin/sh
if [ -s /var/log/ppp.log ]; then
exec tail "$@" /var/log/ppp.log
else
exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
fi