summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp_wizard/scripts')
-rw-r--r--dhcp_wizard/scripts/Dhcpconf.pm5
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");