summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_resolv.pl
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-22 12:12:48 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-22 12:12:48 -0700
commit22613192d2b3a9226fa9454120df03f327880ebb (patch)
tree204d2f85f00c30fbc88919a1d089a85e5f2c3777 /scripts/system/vyatta_update_resolv.pl
parentf3e3ffb74f984a4a440c394553a429f4023acaf4 (diff)
downloadvyatta-cfg-system-22613192d2b3a9226fa9454120df03f327880ebb.tar.gz
vyatta-cfg-system-22613192d2b3a9226fa9454120df03f327880ebb.zip
remove unused options
* high-level operations should not access CLI implementation details.
Diffstat (limited to 'scripts/system/vyatta_update_resolv.pl')
-rwxr-xr-xscripts/system/vyatta_update_resolv.pl13
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;