diff options
-rwxr-xr-x | scripts/system/vyatta_update_resolv.pl | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/system/vyatta_update_resolv.pl b/scripts/system/vyatta_update_resolv.pl index a4e2b9ba..f39dd3e7 100755 --- a/scripts/system/vyatta_update_resolv.pl +++ b/scripts/system/vyatta_update_resolv.pl @@ -28,23 +28,12 @@ use lib "/opt/vyatta/share/perl5/"; use Getopt::Long; -my $change_dir = ''; -my $modify_dir = ''; my $dhclient_script = 0; -GetOptions("change_dir=s" => \$change_dir, "modify_dir=s" => \$modify_dir, "dhclient-script=i" => \$dhclient_script ); - +GetOptions("dhclient-script=i" => \$dhclient_script); use Vyatta::Config; my $vc = new Vyatta::Config(); -if ($change_dir ne '') { - $vc->{_changes_only_dir_base} = $change_dir; -} -if ($modify_dir ne '') { - $vc->{_new_config_dir_base} = $modify_dir; -} - - $vc->setLevel('system'); my @domains; my $domain_name = undef; |