[git commit] examples: add a useful "see abridged log" script for ntpd service example

Denys Vlasenko vda.linux at googlemail.com
Sun Jul 10 18:15:28 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=f6348e50ef2a2c28c611df4df92207d7b378e78e
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 examples/var_service/ntpd/p_log_important | 4 ++++
 1 file changed, 4 insertions(+)

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
--- /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


More information about the busybox-cvs mailing list