summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-07 15:35:37 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-07 15:35:37 -0700
commitf6b09f98f44c8a2ac0bec819557b30216bb1a2c5 (patch)
tree192ab29e2d6098a81e69acc011bf17dd6af268bc
parent8497bf5a76f8753710e1ae826a8b5e2ccbe46426 (diff)
downloadvyatta-op-f6b09f98f44c8a2ac0bec819557b30216bb1a2c5.tar.gz
vyatta-op-f6b09f98f44c8a2ac0bec819557b30216bb1a2c5.zip
Turn on paging of tail when showing count lines
Bugfix 3017
-rw-r--r--templates/show/log/tail/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/log/tail/node.tag/node.def b/templates/show/log/tail/node.tag/node.def
index 00de686..b07bb9e 100644
--- a/templates/show/log/tail/node.tag/node.def
+++ b/templates/show/log/tail/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show last changes to messages
allowed: echo -n '<NUMBER>'
-run: tail -n "$4" /var/log/messages
+run: tail -n "$4" /var/log/messages | ${VYATTA_PAGER:-cat}