summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/system/boot-messages/all/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def
index e414987..15f42d1 100644
--- a/templates/show/system/boot-messages/all/node.def
+++ b/templates/show/system/boot-messages/all/node.def
@@ -1,4 +1,5 @@
help: Show all kernel boot messages
-run: less $_vyatta_less_options \
+run: LESSOPEN="/usr/bin/lesspipe %s" LESSCLOSE="/usr/bin/lesspipe %s %s" \
+ less $_vyatta_less_options \
--prompt=".boot-messages?m, file %i of %m., page %dt of %D" \
-- `printf "%s\n" /var/log/dmesg* | sort -nr`