mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-23 18:33:24 +08:00
parent
6e8eaa7a78
commit
2ecc3c7ce0
@ -3,5 +3,5 @@
|
||||
if [ -s /var/log/ppp.log ]; then
|
||||
exec tail "$@" /var/log/ppp.log
|
||||
else
|
||||
exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
|
||||
exec grep ' \(pppd\|chat\)\[' /var/log/syslog | tail "$@"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user