diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-30 16:42:43 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-30 16:42:43 -0700 |
commit | 3b03c1c487149d602b43605556d1301060adad05 (patch) | |
tree | f8a13d3198abc0cb3f0dc5dac215b929e7b9d692 | |
parent | 75d265c55a55ecb7dd9ec8b2189b36f6a7e358d8 (diff) | |
download | vyatta-op-3b03c1c487149d602b43605556d1301060adad05.tar.gz vyatta-op-3b03c1c487149d602b43605556d1301060adad05.zip |
new API changes
-rwxr-xr-x | scripts/show-users.pl | 1 | ||||
-rwxr-xr-x | scripts/vyatta-op-dns-forwarding.pl | 1 | ||||
-rwxr-xr-x | scripts/vyatta-op-dynamic-dns.pl | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/scripts/show-users.pl b/scripts/show-users.pl index 8bd0825..321fbcb 100755 --- a/scripts/show-users.pl +++ b/scripts/show-users.pl @@ -61,7 +61,6 @@ $filter |= VYATTA|OTHER if ($filter == 0); # Read list of Vyatta users my $cfg = new Vyatta::Config; $cfg->setLevel('system login user'); -$cfg->{_active_dir_base} = '/opt/vyatta/config/active/'; my %vuser = map { $_ => 1 } $cfg->listOrigNodes(); # Setup to access lastlog diff --git a/scripts/vyatta-op-dns-forwarding.pl b/scripts/vyatta-op-dns-forwarding.pl index 5209e3e..99b5eac 100755 --- a/scripts/vyatta-op-dns-forwarding.pl +++ b/scripts/vyatta-op-dns-forwarding.pl @@ -92,7 +92,6 @@ sub get_dns_nameservers { my $vyatta_config = new Vyatta::Config; $vyatta_config->setLevel("service dns forwarding"); - $vyatta_config->{_active_dir_base} = "/opt/vyatta/config/active/"; my $use_system_nameservers = $vyatta_config->existsOrig("system"); my @use_dhcp_nameservers = $vyatta_config->returnOrigValues("dhcp"); my @use_nameservers = $vyatta_config->returnOrigValues("name-server"); diff --git a/scripts/vyatta-op-dynamic-dns.pl b/scripts/vyatta-op-dynamic-dns.pl index 3d24c38..3b4f60b 100755 --- a/scripts/vyatta-op-dynamic-dns.pl +++ b/scripts/vyatta-op-dynamic-dns.pl @@ -86,7 +86,6 @@ sub get_ddns_interfaces { my $vyatta_config = new Vyatta::Config; $vyatta_config->setLevel("service dns dynamic"); - $vyatta_config->{_active_dir_base} = "/opt/vyatta/config/active/"; my @ddns_interfaces = $vyatta_config->listOrigNodes("interface"); @ddns_interfaces = sort(@ddns_interfaces); return (@ddns_interfaces); |