diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | dns_wizard/Bind.pm | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- copy bind templates if not present (mga#10981) + Version 3.10 - 24 Aug 2013 by Derek Jennings - fix race condition checking service status (mga#10934) diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index 4d8b4674..355c5ae6 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 $WIZARD_SCRIPTS = "/usr/share/wizards/dns_wizard/scripts"; my $o = { name => 'DNS Configuration Wizard', @@ -800,6 +801,9 @@ sub check_iph { sub do_it { $::testing and return; + foreach (qw(named.ca master reverse)) { + cp_af("$WIZARD_SCRIPTS/$_","$NAMED_DIR/$_") if !-e "$NAMED_DIR/$_"; + } #my ($st) = @_; crea_wdir($WDIR); # create files |