diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-06 12:28:51 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-06 12:28:51 +0000 |
commit | 4667d5df42de168112fb7056c2f9b12364778bf3 (patch) | |
tree | 674463bf8470cc3476bd2d7c7c18d04f1d77c706 /dhcp_wizard/scripts/Dhcpconf.pm | |
parent | a896d47b3871b71cb7f15b25689aac85eb6d455f (diff) | |
download | drakwizard-4667d5df42de168112fb7056c2f9b12364778bf3.tar drakwizard-4667d5df42de168112fb7056c2f9b12364778bf3.tar.gz drakwizard-4667d5df42de168112fb7056c2f9b12364778bf3.tar.bz2 drakwizard-4667d5df42de168112fb7056c2f9b12364778bf3.tar.xz drakwizard-4667d5df42de168112fb7056c2f9b12364778bf3.zip |
test if is already a dhcp client
Diffstat (limited to 'dhcp_wizard/scripts/Dhcpconf.pm')
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm index 5b31a53d..f16118de 100644 --- a/dhcp_wizard/scripts/Dhcpconf.pm +++ b/dhcp_wizard/scripts/Dhcpconf.pm @@ -51,6 +51,11 @@ sub check { 10; } +sub check_dhcp { + $o->is_dhcp() and return 1; + 0; +} + sub do_it { my $wiz_domain_name = $o->get("DomainName"); my $wiz_host_name = $o->get("SystemName"); |