diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-02-11 14:28:30 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-02-11 14:28:30 +0000 |
commit | e49ce2ef95cb003884db63b868983c4215ef3230 (patch) | |
tree | 8fee461c2e612b7d001d2d707a968a58c8f17bd6 | |
parent | 0f838dfb42e2d14407f49dba337b48455d169bdd (diff) | |
download | drakwizard-e49ce2ef95cb003884db63b868983c4215ef3230.tar drakwizard-e49ce2ef95cb003884db63b868983c4215ef3230.tar.gz drakwizard-e49ce2ef95cb003884db63b868983c4215ef3230.tar.bz2 drakwizard-e49ce2ef95cb003884db63b868983c4215ef3230.tar.xz drakwizard-e49ce2ef95cb003884db63b868983c4215ef3230.zip |
fix problem detecting master server
-rw-r--r-- | dns_wizard/Bind.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index c8c3f716..ff57104a 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -53,7 +53,7 @@ my $TEXTINFO = "dns Wizard"; my $REP_SAVE = "/tmp/bck"; my $ZONE_DIR = $NAMED_DIR . "/zone"; my $DATE = `date +%d-%m-20%y`; -my $ft = "/var/named/master_srv"; +#my $ft = "/var/named/master_srv"; my $o = { @@ -109,7 +109,7 @@ $o->{pages} = { $o->{var}{wiz_level} ||= 1; }, post => sub { - -f $ft or return 'error_notmaster'; +# -f $ft or return 'error_notmaster'; if ($o->{var}{wiz_level} == 2) { return 'slave' } elsif ($o->{var}{wiz_level} == 3) { @@ -689,7 +689,7 @@ sub do_it_master { return if $::testing; my $in = 'interactive'->vnew('su', 'dns'); my $w = $in->wait_message(N("Master DNS server"), N("Configuring your system as Master DNS server ...")); - system("touch $ft"); +# system("touch $ft"); do_it(); crea_iprev($IPSERVER, $DOMAINNAME); crea_ipnorm($IPSERVER, $DOMAINNAME); |