summaryrefslogtreecommitdiff
authorDenys Vlasenko <vda.linux@googlemail.com>2016-07-10 18:15:28 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2016-07-10 18:15:28 (GMT)
commitf6348e50ef2a2c28c611df4df92207d7b378e78e (patch)
tree1a30753ddcf3a3c438e408a5b43ca76a56d0e6c8
parentd2f4241d2eafc90cb7e0f985133ab62b24b473f0 (diff)
downloadbusybox-f6348e50ef2a2c28c611df4df92207d7b378e78e.zip
busybox-f6348e50ef2a2c28c611df4df92207d7b378e78e.tar.gz
busybox-f6348e50ef2a2c28c611df4df92207d7b378e78e.tar.bz2
examples: add a useful "see abridged log" script for ntpd service example
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat
-rwxr-xr-xexamples/var_service/ntpd/p_log_important4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/var_service/ntpd/p_log_important b/examples/var_service/ntpd/p_log_important
new file mode 100755
index 0000000..09b248f
--- a/dev/null
+++ b/examples/var_service/ntpd/p_log_important
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd log/logdir || exit 1
+cat @* current | grep -v -eolder -esending -esockets -e'reply from.*offset' -executing | $PAGER