From 40bcc59a5674985645909ac447c153c1ad6c1b22 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 27 Jan 2009 10:34:05 +0000 Subject: core/ppp: new aport --- core/ppp/plog | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 core/ppp/plog (limited to 'core/ppp/plog') diff --git a/core/ppp/plog b/core/ppp/plog new file mode 100644 index 00000000000..84d2c7340cc --- /dev/null +++ b/core/ppp/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 -- cgit v1.2.3