diff options
Diffstat (limited to 'scripts/vyatta-save-config.pl')
-rwxr-xr-x | scripts/vyatta-save-config.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl index 2c02766..f33a693 100755 --- a/scripts/vyatta-save-config.pl +++ b/scripts/vyatta-save-config.pl @@ -20,8 +20,8 @@ # **** End License **** use strict; -use lib "/opt/vyatta/share/perl5/"; -use VyattaConfigOutput; +use lib "/opt/vyatta/share/perl5"; +use Vyatta::Config::Output; my $etcdir = "/opt/vyatta/etc"; my $bootpath = $etcdir . "/config"; @@ -84,8 +84,8 @@ if ($mode eq 'local') { } select SAVE; -VyattaConfigOutput::set_show_all(1); -VyattaConfigOutput::outputActiveConfig(); +set_show_all(1); +outputActiveConfig(); print $version_str; close SAVE; select STDOUT; |