summaryrefslogtreecommitdiff
path: root/templates/show/license
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2008-03-21 12:16:11 -0700
committerTom Grennan <tgrennan@vyatta.com>2008-03-21 12:16:11 -0700
commit7612557a0ad1ae9c965c1d836038f2a5a18ddb41 (patch)
tree998946f6b651eb7f98b2102ad2140d614703f405 /templates/show/license
parent81368cafa73984d475f4c59fc522ad3a1d7fb610 (diff)
downloadvyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.tar.gz
vyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.zip
use less prompt to display the "show" content
Diffstat (limited to 'templates/show/license')
-rw-r--r--templates/show/license/node.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show/license/node.def b/templates/show/license/node.def
index eadfbbf..2108f30 100644
--- a/templates/show/license/node.def
+++ b/templates/show/license/node.def
@@ -1,2 +1,4 @@
help: Show Vyatta license information
-run: cat ${vyatta_sysconfdir}/LICENSE
+run: less $_vyatta_less_options \
+ --prompt=".license, page %dt of %D" \
+ -- ${vyatta_sysconfdir}/LICENSE