]> git.ozlabs.org Git - ppp.git/blob - scripts/plog
CI: Updated the 'checkout' actions that were using Node.js 16 to Node.js 20. (#489)
[ppp.git] / scripts / plog
1 #!/bin/sh
2
3 if [ -s /var/log/ppp.log ]; then
4   exec tail "$@" /var/log/ppp.log
5 else
6   exec grep ' \(pppd\|chat\)\[' /var/log/syslog | tail "$@"
7 fi