projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
landing rt 3.2.2
[freeside.git]
/
bin
/
bind.export
diff --git
a/bin/bind.export
b/bin/bind.export
index
64d4406
..
d0b9379
100755
(executable)
--- a/
bin/bind.export
+++ b/
bin/bind.export
@@
-31,7
+31,8
@@
foreach my $export ( @exports ) {
my $prefix = "$spooldir/$machine";
my $bind_rel = $export->option('bind_release');
my $prefix = "$spooldir/$machine";
my $bind_rel = $export->option('bind_release');
- my $ndc_cmd = ($bind_rel eq 'BIND9') ? 'rndc' : 'ndc';
+ my $ndc_cmd = $export->option('reload')
+ || ( ($bind_rel eq 'BIND9') ? 'rndc' : 'ndc' );
my $minttl = $export->option('bind9_minttl');
#prevent old domain files from piling up
my $minttl = $export->option('bind9_minttl');
#prevent old domain files from piling up