summaryrefslogtreecommitdiffstats
path: root/dns_wizard
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2008-03-28 16:54:10 +0000
committerNicolas Vigier <nvigier@mandriva.com>2008-03-28 16:54:10 +0000
commit4b2b6243a44c42eca0fc6ee91220a7e84261d6c5 (patch)
tree534ff1cf5021dd284cf2e0148843d72e9ae116e8 /dns_wizard
parent2647180ae275125164829d82cb46b73285c40a71 (diff)
downloaddrakwizard-4b2b6243a44c42eca0fc6ee91220a7e84261d6c5.tar
drakwizard-4b2b6243a44c42eca0fc6ee91220a7e84261d6c5.tar.gz
drakwizard-4b2b6243a44c42eca0fc6ee91220a7e84261d6c5.tar.bz2
drakwizard-4b2b6243a44c42eca0fc6ee91220a7e84261d6c5.tar.xz
drakwizard-4b2b6243a44c42eca0fc6ee91220a7e84261d6c5.zip
check if named is enabled at boot
Diffstat (limited to 'dns_wizard')
-rw-r--r--dns_wizard/Bind.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index 263b02c3..a0b8b14b 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -833,6 +833,7 @@ sub end_it {
sub do_it_master {
return if $::testing;
my $in = 'interactive'->vnew('su', 'dns');
+ check_starts_on_boot($in, 'named');
my $w = $in->wait_message(N("Master DNS server"), N("Configuring your system as Master DNS server ..."));
output($sys_wizard_dns, "INTERFACE=$o->{var}{interface}\n");
do_it();
@@ -847,6 +848,7 @@ sub do_it_master {
sub do_it_slave {
return if $::testing;
my $in = 'interactive'->vnew('su', 'dns');
+ check_starts_on_boot($in, 'named');
my $w = $in->wait_message(N("Slave DNS server"), N("Configuring your system as Slave DNS server ..."));
if (-f $sys_wizard_dns) { unlink $sys_wizard_dns }
do_it();