File: plog

package info (click to toggle)
ppp 2.5.2-1%2B1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,472 kB
  • sloc: ansic: 40,721; sh: 5,356; perl: 458; makefile: 453
file content (7 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/bin/sh

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