summaryrefslogtreecommitdiff
path: root/scripts/vyatta-passwd-sync
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:44 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:44 -0800
commit62af8baf3a696f774430117927440c114248a81d (patch)
tree77956280017b2dff1c06e29d9c04b096f68bc552 /scripts/vyatta-passwd-sync
parent5021e2073b50f3f2022d19c07870b11604548689 (diff)
downloadvyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.tar.gz
vyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.zip
Convert to Vyatta::Config hierarchy
Diffstat (limited to 'scripts/vyatta-passwd-sync')
-rwxr-xr-xscripts/vyatta-passwd-sync10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vyatta-passwd-sync b/scripts/vyatta-passwd-sync
index 29748b67..f8c07a8f 100755
--- a/scripts/vyatta-passwd-sync
+++ b/scripts/vyatta-passwd-sync
@@ -15,7 +15,7 @@
# **** End License ****
use lib "/opt/vyatta/share/perl5/";
-use VyattaConfig;
+use Vyatta::Config;
use strict;
use Getopt::Long;
@@ -29,7 +29,7 @@ GetOptions(
);
#
-# These should move to VyattaConfig.pm??
+# These should move to Vyatta::Config.pm??
#
sub add_node {
@@ -123,7 +123,7 @@ sub system_vyatta_users {
}
sub listOrigUsers {
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
my %users = ();
foreach my $name ( $config->listOrigNodes('system login user') ) {
@@ -181,7 +181,7 @@ sub check_config {
}
sub listUsers {
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
my %users = ();
foreach my $name ( $config->listOrigNodes('system login user') ) {
@@ -203,7 +203,7 @@ sub listUsers {
sub resync_config {
my %system_users = system_vyatta_users();
my %vyatta_users = listUsers();
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
$config->setLevel('system login user');