blob: 7cb53346413d7b52e8ecc6757be0e990bb4beecd [file] [log] [blame]
xf.li84027492024-04-09 00:17:51 -07001#!/bin/sh
2
3if [ -s /var/log/ppp.log ]; then
4 exec tail "$@" /var/log/ppp.log
5else
6 exec grep ' \(pppd\|chat\)\[' /var/log/syslog | tail "$@"
7fi