diff options
author | alex <alex@builder.localdomain> | 2007-12-11 15:12:41 -0800 |
---|---|---|
committer | alex <alex@builder.localdomain> | 2007-12-11 15:12:41 -0800 |
commit | 42aff76b3686beb463a77f3dabd4c5beed961120 (patch) | |
tree | e61062b2c0b55d3841083c38110603f1c398bd06 /scripts | |
parent | fb9450551d5757a45806a062d7457a761e6dd295 (diff) | |
parent | 832dbf144bc019ec524e4163b716dd823ee26900 (diff) | |
download | vyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.tar.gz vyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.zip |
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-output-config.pl | 7 |
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; |