From: Denys Vlasenko Date: Sun, 10 Jul 2016 18:15:28 +0000 (+0200) Subject: examples: add a useful "see abridged log" script for ntpd service example X-Git-Tag: 1_26_0~324 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6348e50ef2a2c28c611df4df92207d7b378e78e;p=oweals%2Fbusybox.git examples: add a useful "see abridged log" script for ntpd service example Signed-off-by: Denys Vlasenko --- diff --git a/examples/var_service/ntpd/p_log_important b/examples/var_service/ntpd/p_log_important new file mode 100755 index 000000000..09b248fb3 --- /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