diff options
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; |