summaryrefslogtreecommitdiff
path: root/templates/show/system
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-11-30 18:07:53 -0800
committerTom Grennan <tgrennan@vyatta.com>2007-11-30 18:07:53 -0800
commitf6178a5b8fadae89dfe2630bc27ed8b16f51f7fe (patch)
tree69219b37143972d7a356c938bb3d1433ef85dad7 /templates/show/system
parent6f36e1824194fc32f9de9e0531248669dcab0a89 (diff)
downloadvyatta-op-f6178a5b8fadae89dfe2630bc27ed8b16f51f7fe.tar.gz
vyatta-op-f6178a5b8fadae89dfe2630bc27ed8b16f51f7fe.zip
fix "show system [boot|kernel]-messages"
Diffstat (limited to 'templates/show/system')
-rw-r--r--templates/show/system/boot-messages/all/node.def2
-rw-r--r--templates/show/system/boot-messages/node.def4
-rw-r--r--templates/show/system/kernel-messages/node.def2
3 files changed, 5 insertions, 3 deletions
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def
new file mode 100644
index 0000000..b151fc2
--- /dev/null
+++ b/templates/show/system/boot-messages/all/node.def
@@ -0,0 +1,2 @@
+help: Show all kernel boot messages
+run: ${vyatta_bindir}/vyatta-show-dmesg-all
diff --git a/templates/show/system/boot-messages/node.def b/templates/show/system/boot-messages/node.def
index acf2173..fb24eeb 100644
--- a/templates/show/system/boot-messages/node.def
+++ b/templates/show/system/boot-messages/node.def
@@ -1,2 +1,2 @@
-help: Show kernel boot messages
-run: sudo ${OFR_PAGER:-cat -s} /var/log/dmes? /dev/null
+help: Show most recent kernel boot messages
+run: cat /var/log/dmes? /dev/null
diff --git a/templates/show/system/kernel-messages/node.def b/templates/show/system/kernel-messages/node.def
index 4457b69..6f41ae3 100644
--- a/templates/show/system/kernel-messages/node.def
+++ b/templates/show/system/kernel-messages/node.def
@@ -1,2 +1,2 @@
help: Show messages in kernel ring buffer
-run: dmesg | ${OFR_PAGER:-cat -s}
+run: dmesg