linuxOS_AP05/debian/ubuntu-build-service/buster-desktop-arm64/binary/usr/bin/plog
2025-09-26 09:40:02 +08:00

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