From 7612557a0ad1ae9c965c1d836038f2a5a18ddb41 Mon Sep 17 00:00:00 2001
From: Tom Grennan <tgrennan@vyatta.com>
Date: Fri, 21 Mar 2008 12:16:11 -0700
Subject: use less prompt to display the "show" content

---
 templates/show/hardware/mem/node.def | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'templates/show/hardware/mem/node.def')

diff --git a/templates/show/hardware/mem/node.def b/templates/show/hardware/mem/node.def
index 7a54e52..acf1109 100644
--- a/templates/show/hardware/mem/node.def
+++ b/templates/show/hardware/mem/node.def
@@ -1,2 +1,4 @@
 help: Show system RAM details
-run: cat /proc/meminfo
+run: less $_vyatta_less_options \
+	--prompt=".mem info" \
+	-- /proc/meminfo
-- 
cgit v1.2.3

