[freeside-commits] freeside/bin bind.import,1.6,1.7
Ivan,,,
ivan at wavetail.420.am
Fri Jul 18 15:29:54 PDT 2008
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv8327
Modified Files:
bind.import
Log Message:
add -e option to bind.import (now to actually implement it)
Index: bind.import
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/bind.import,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- bind.import 16 Oct 2005 14:04:00 -0000 1.6
+++ bind.import 18 Jul 2008 22:29:52 -0000 1.7
@@ -8,6 +8,7 @@
#
# OPTIONAL:
# -d: dry-run, debug: don't insert any records, just dump debugging output
+# -e: use existing domains records in Freeside
# -s: import slave zones as master. useful if you need to recreate your
# primary nameserver from a secondary
# -c dir: override patch for downloading zone files (for example, when
@@ -36,8 +37,8 @@
#use FS::svc_acct;
#use FS::part_svc;
-use vars qw($opt_p $opt_n $opt_s $opt_c $opt_d);
-getopts("p:n:sc:d");
+use vars qw($opt_p $opt_n $opt_s $opt_c $opt_d $opt_e);
+getopts("p:n:sc:de");
my $user = shift or die &usage;
adminsuidsetup $user;
@@ -75,7 +76,7 @@
##
sub usage {
- die "Usage:\n\n bind.import -p partnum -n \"user\@machine:/path/to/named.conf\" [ -s ] [ -c chroot_dir ] [ -f ] user\n";
+ die "Usage:\n\n bind.import -p partnum -n \"user\@machine:/path/to/named.conf\" [ -s ] [ -c chroot_dir ] [ -d ] [ -e ] user\n";
}
########
More information about the freeside-commits
mailing list