summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/show-users.pl1
-rwxr-xr-xscripts/vyatta-op-dns-forwarding.pl1
-rwxr-xr-xscripts/vyatta-op-dynamic-dns.pl1
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);