commit | 9ed821d7e5d875a3395740a9cc2545671fa429b7 | [log] [tgz] |
---|---|---|
author | lh <lh@exm.com> | Fri Apr 07 01:36:19 2023 -0700 |
committer | lh <lh@exm.com> | Fri Apr 07 01:36:19 2023 -0700 |
tree | 121b5ff9a43e30066e3b33d57065b04bcf9bbabf | |
parent | a10a76fcf09e2ec7e9055902f242dff467ab9654 [diff] [blame] |
[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/pppd/scripts/plog b/ap/app/pppd/scripts/plog new file mode 100644 index 0000000..84d2c73 --- /dev/null +++ b/ap/app/pppd/scripts/plog
@@ -0,0 +1,7 @@ +#!/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