diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | dns_wizard/Bind.pm | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- create directory if bind has not + Version 3.7.6 - 27 August 2013, by djennings - fix race condition checking service status (mga#10830) diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index 9a13e7cb..4a53c352 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -54,6 +54,7 @@ my $TEXTINFO = "dns Wizard"; my $REP_SAVE = "/tmp/bck"; my $ZONE_DIR = $NAMED_DIR . "/zone"; my $DATE = `date +%d-%m-20%y`; +my $VNAMED = "/var/named"; my $o = { name => 'DNS Configuration Wizard', @@ -799,6 +800,7 @@ sub check_iph { sub do_it { $::testing and return; + mkdir_p($VNAMED) if !-e $VNAMED; #my ($st) = @_; crea_wdir($WDIR); # create files |