summaryrefslogtreecommitdiff
path: root/templates/set/terminal/pager
diff options
context:
space:
mode:
Diffstat (limited to 'templates/set/terminal/pager')
-rw-r--r--templates/set/terminal/pager/node.def2
-rw-r--r--templates/set/terminal/pager/node.tag/node.def3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/set/terminal/pager/node.def b/templates/set/terminal/pager/node.def
new file mode 100644
index 0000000..d2d414d
--- /dev/null
+++ b/templates/set/terminal/pager/node.def
@@ -0,0 +1,2 @@
+help: Set to use default pager (less)
+run: VYATTA_PAGER=$_vyatta_default_pager
diff --git a/templates/set/terminal/pager/node.tag/node.def b/templates/set/terminal/pager/node.tag/node.def
new file mode 100644
index 0000000..dd5a3de
--- /dev/null
+++ b/templates/set/terminal/pager/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Set terminal pager
+allowed: echo -n '<PROGRAM>'
+run: VYATTA_PAGER=$4