diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:09:30 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:09:30 -0800 |
commit | 32cefc2d846f9946bf6e5b84cd914b5e2959dbfa (patch) | |
tree | 0bbb5d52e5621b84a897bd023ae51e15c9e72be9 /scripts/vyatta-output-config.pl | |
parent | 6d87be16190a658ac324488024a82961774f0ece (diff) | |
download | vyatta-cfg-32cefc2d846f9946bf6e5b84cd914b5e2959dbfa.tar.gz vyatta-cfg-32cefc2d846f9946bf6e5b84cd914b5e2959dbfa.zip |
Convert VyattaConfig (et al) to Vyatta::Config
Use hierarchal directory structure
Diffstat (limited to 'scripts/vyatta-output-config.pl')
-rwxr-xr-x | scripts/vyatta-output-config.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/vyatta-output-config.pl b/scripts/vyatta-output-config.pl index 05bdc4c..e47f718 100755 --- a/scripts/vyatta-output-config.pl +++ b/scripts/vyatta-output-config.pl @@ -20,20 +20,20 @@ # **** End License **** use strict; -use lib "/opt/vyatta/share/perl5/"; -use VyattaConfigOutput; +use lib "/opt/vyatta/share/perl5"; +use Vyatta::Config::Output; if ($ARGV[0] eq '-all') { shift; - VyattaConfigOutput::set_show_all(1); + set_show_all(1); } if ($ARGV[0] eq '-active') { shift; - VyattaConfigOutput::set_hide_password(1); - VyattaConfigOutput::outputActiveConfig(@ARGV); + set_hide_password(1); + outputActiveConfig(@ARGV); } else { - VyattaConfigOutput::outputNewConfig(@ARGV); + outputNewConfig(@ARGV); } exit 0; |