summaryrefslogtreecommitdiff
path: root/templates/show/system/boot-messages
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/system/boot-messages')
-rw-r--r--templates/show/system/boot-messages/all/node.def4
-rw-r--r--templates/show/system/boot-messages/node.def4
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def
index b151fc2..e414987 100644
--- a/templates/show/system/boot-messages/all/node.def
+++ b/templates/show/system/boot-messages/all/node.def
@@ -1,2 +1,4 @@
help: Show all kernel boot messages
-run: ${vyatta_bindir}/vyatta-show-dmesg-all
+run: less $_vyatta_less_options \
+ --prompt=".boot-messages?m, file %i of %m., page %dt of %D" \
+ -- `printf "%s\n" /var/log/dmesg* | sort -nr`
diff --git a/templates/show/system/boot-messages/node.def b/templates/show/system/boot-messages/node.def
index 7cfe5d3..97bbb61 100644
--- a/templates/show/system/boot-messages/node.def
+++ b/templates/show/system/boot-messages/node.def
@@ -1,2 +1,4 @@
help: Show most recent kernel boot messages
-run: ${vyatta_bindir}/vyatta-show-dmesg
+run: less $_vyatta_less_options \
+ --prompt=".boot-messages, page %dt of %D" \
+ -- /var/log/dmesg