summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-29 15:39:50 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:30 -0500
commit1f9215b3a965e7b0b73fdbdd71b8e00e3c8b0481 (patch)
treeea1f825304b583aac01c78867200e2afd6f308b8 /templates
parent4217b8aa86fe4b3611a90d1ee8d42c4a3db46526 (diff)
downloadvyatta-op-1f9215b3a965e7b0b73fdbdd71b8e00e3c8b0481.tar.gz
vyatta-op-1f9215b3a965e7b0b73fdbdd71b8e00e3c8b0481.zip
move 'show log tail' to 'monitor log'
(cherry picked from commit 419e99faea0ffd33e0b7176bc0ff08927ff67de9)
Diffstat (limited to 'templates')
-rw-r--r--templates/monitor/log/node.def (renamed from templates/show/log/tail/node.def)2
-rw-r--r--templates/monitor/log/node.tag/node.def (renamed from templates/show/log/tail/node.tag/node.def)2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/log/tail/node.def b/templates/monitor/log/node.def
index e6f3456..3c3413d 100644
--- a/templates/show/log/tail/node.def
+++ b/templates/monitor/log/node.def
@@ -1,2 +1,2 @@
-help: Show last lines of messages file
+help: Monitor last lines of messages file
run: tail --follow=name /var/log/messages
diff --git a/templates/show/log/tail/node.tag/node.def b/templates/monitor/log/node.tag/node.def
index b07bb9e..9f84f5a 100644
--- a/templates/show/log/tail/node.tag/node.def
+++ b/templates/monitor/log/node.tag/node.def
@@ -1,3 +1,3 @@
-help: Show last changes to messages
+help: monitor last changes to messages
allowed: echo -n '<NUMBER>'
run: tail -n "$4" /var/log/messages | ${VYATTA_PAGER:-cat}