summaryrefslogtreecommitdiff
path: root/core/ppp/plog
blob: 84d2c7340cc64cd4f86ffa9af87504c8055b9c03 (plain)
1
2
3
4
5
6
7
#!/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