summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2008-03-28 16:48:42 +0000
committerNicolas Vigier <nvigier@mandriva.com>2008-03-28 16:48:42 +0000
commit2647180ae275125164829d82cb46b73285c40a71 (patch)
tree85ec47ca104a60b6348e13e75fe27d664e3179dd /dhcp_wizard
parentb90c525b28bcbc65201b049161b3aab1566e6886 (diff)
downloaddrakwizard-2647180ae275125164829d82cb46b73285c40a71.tar
drakwizard-2647180ae275125164829d82cb46b73285c40a71.tar.gz
drakwizard-2647180ae275125164829d82cb46b73285c40a71.tar.bz2
drakwizard-2647180ae275125164829d82cb46b73285c40a71.tar.xz
drakwizard-2647180ae275125164829d82cb46b73285c40a71.zip
check if dhcpd is enabled at boot
Diffstat (limited to 'dhcp_wizard')
-rwxr-xr-xdhcp_wizard/Dhcp.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm
index 8d9fa0e1..658103a5 100755
--- a/dhcp_wizard/Dhcp.pm
+++ b/dhcp_wizard/Dhcp.pm
@@ -182,6 +182,8 @@ sub check {
sub do_it {
$::testing and return;
+ my $in = 'interactive'->vnew('su', 'DHCP');
+ check_starts_on_boot($in, 'dhcpd');
my $wiz_domain_name = $wiz->{net}->network_get("DOMAINNAME");
my $wiz_host_name = $wiz->{net}->network_get("HOSTNAME");
my $wiz_dns = $wiz->{net}->network_get("dnsServer");