ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/bin/plog

8 lines
146 B
Bash
Executable File

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