summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
commit42aff76b3686beb463a77f3dabd4c5beed961120 (patch)
treee61062b2c0b55d3841083c38110603f1c398bd06 /scripts
parentfb9450551d5757a45806a062d7457a761e6dd295 (diff)
parent832dbf144bc019ec524e4163b716dd823ee26900 (diff)
downloadvyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.tar.gz
vyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.zip
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-output-config.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/vyatta-output-config.pl b/scripts/vyatta-output-config.pl
index 8b25ec2..8eb0be8 100755
--- a/scripts/vyatta-output-config.pl
+++ b/scripts/vyatta-output-config.pl
@@ -8,6 +8,11 @@ if ($ARGV[0] eq '-all') {
shift;
VyattaConfigOutput::set_show_all(1);
}
-VyattaConfigOutput::outputNewConfig(@ARGV);
+if ($ARGV[0] eq '-active') {
+ shift;
+ VyattaConfigOutput::outputActiveConfig(@ARGV);
+} else {
+ VyattaConfigOutput::outputNewConfig(@ARGV);
+}
exit 0;