freeside/bin bind.export,1.9,1.10
ivan
ivan at pouncequick.420.am
Thu Apr 1 18:09:03 PST 2004
Update of /home/cvs/cvsroot/freeside/bin
In directory pouncequick:/tmp/cvs-serv17180/bin
Modified Files:
bind.export
Log Message:
add option to set (r)ndc command
Index: bind.export
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/bind.export,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- bind.export 24 Apr 2003 01:43:10 -0000 1.9
+++ bind.export 2 Apr 2004 02:09:00 -0000 1.10
@@ -31,7 +31,8 @@
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
More information about the freeside-commits
mailing list