summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 15:58:03 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 15:58:03 -0800
commit478334deb755f9b31fccffdde92971516863dbff (patch)
tree20cf736e7bd9aeb162c60c3dc2178b3d031755b4
parente368979b61ae5d4751eb06cc63d923cc18f1827c (diff)
downloadvyatta-op-478334deb755f9b31fccffdde92971516863dbff.tar.gz
vyatta-op-478334deb755f9b31fccffdde92971516863dbff.zip
"show configuration" displays active config instead.
-rw-r--r--templates/show/configuration/all/node.def4
-rw-r--r--templates/show/configuration/node.def4
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/show/configuration/all/node.def b/templates/show/configuration/all/node.def
index 60fa026..12431ce 100644
--- a/templates/show/configuration/all/node.def
+++ b/templates/show/configuration/all/node.def
@@ -1,4 +1,2 @@
help: Show running configuration (including default values)
-run: ${vyatta_sbindir}/xorp_tmpl_tool \
- test ${vyatta_sbindir}/vyatta-output-config.pl -all
- ${vyatta_sbindir}/xorp_tmpl_tool end_loading
+run: ${vyatta_sbindir}/vyatta-output-config.pl -all -active
diff --git a/templates/show/configuration/node.def b/templates/show/configuration/node.def
index a4a0e41..d3a36e0 100644
--- a/templates/show/configuration/node.def
+++ b/templates/show/configuration/node.def
@@ -1,4 +1,2 @@
help: Show running configuration
-run: ${vyatta_sbindir}/xorp_tmpl_tool \
- test ${vyatta_sbindir}/vyatta-output-config.pl
- ${vyatta_sbindir}/xorp_tmpl_tool end_loading
+run: ${vyatta_sbindir}/vyatta-output-config.pl -active