From 243b248a929e99a9cc64e16f29e4a49afeb87a3c Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 2 Apr 2004 02:09:01 +0000 Subject: add option to set (r)ndc command --- bin/bind.export | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/bind.export') diff --git a/bin/bind.export b/bin/bind.export index 64d44065d..d0b93797e 100755 --- 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 $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 -- cgit v1.2.1