From f6178a5b8fadae89dfe2630bc27ed8b16f51f7fe Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Fri, 30 Nov 2007 18:07:53 -0800 Subject: fix "show system [boot|kernel]-messages" --- templates/show/system/boot-messages/all/node.def | 2 ++ templates/show/system/boot-messages/node.def | 4 ++-- templates/show/system/kernel-messages/node.def | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 templates/show/system/boot-messages/all/node.def (limited to 'templates/show/system') 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 -- cgit v1.2.3