PKGBUILDs/core/ppp/plog
2009-10-09 21:17:35 -05:00

7 lines
146 B
Bash

#!/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