void-packages/srcpkgs/ppp/files/plog
Juan RP f1d2df23c2 Added ppp-2.4.5 build template.
--HG--
extra : convert_revision : 277478e29b83b29d1d40ae95b5c522ea909f9647
2010-04-12 23:53:08 +02: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