summaryrefslogtreecommitdiff
path: root/templates/show/log
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-24 15:34:23 +1000
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-24 15:34:23 +1000
commit7afbca72c1dfaf273eb366b2b372855ac1505440 (patch)
tree30e5474906ec132b250edae9801c408cb3f8c913 /templates/show/log
parent3c9d639f65240d1745b6186a16ce0f6eb918e65c (diff)
parent73dfd3113cfb1226366023ef61cae7c870b6159f (diff)
downloadvyatta-op-mendocino.tar.gz
vyatta-op-mendocino.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-op into mendocinomendocino
Diffstat (limited to 'templates/show/log')
-rw-r--r--templates/show/log/all/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show/log/all/node.def b/templates/show/log/all/node.def
index 069d1d4..243cf1b 100644
--- a/templates/show/log/all/node.def
+++ b/templates/show/log/all/node.def
@@ -1,4 +1,5 @@
help: Show contents of all master log files
-run: less $_vyatta_less_options \
+run: eval $(lesspipe)
+ less $_vyatta_less_options \
--prompt=".log?m, file %i of %m., page %dt of %D" \
-- `printf "%s\n" /var/log/messages* | sort -nr`