diff options
author | ivan <ivan> | 2002-05-23 13:00:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-05-23 13:00:08 +0000 |
commit | 4920ad2671d712afe23d731e25bc5b53955397b7 (patch) | |
tree | 07aef1eb7e0bef35a35fd8a93260a5dac81e21cb /bin | |
parent | 23186f0338ec248d930c85db08cc997bca42525b (diff) |
bind: allow adding slave domains too
Diffstat (limited to 'bin')
-rwxr-xr-x[-rw-r--r--] | bin/bind.import (renamed from bin/svc_domain.import) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/svc_domain.import b/bin/bind.import index 8090b1e9b..5c4149501 100644..100755 --- a/bin/svc_domain.import +++ b/bin/bind.import @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# $Id: svc_domain.import,v 1.6 2002-05-20 11:02:47 ivan Exp $ +# $Id: bind.import,v 1.1 2002-05-23 13:00:08 ivan Exp $ #need to manually put header in /usr/local/etc/freeside/export.<datasrc./bind/<machine>/named.conf.HEADER @@ -23,6 +23,8 @@ use FS::domain_record; my $user = shift or die &usage; adminsuidsetup $user; +$FS::domain_record::noserial_hack = 1; + use vars qw($spooldir); $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/bind"; mkdir $spooldir unless -d $spooldir; |