summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2024-07-15 11:16:34 -0700
committerIvan Kohler <ivan@freeside.biz>2024-07-15 11:16:34 -0700
commit13ef9ed12e1dbd6b278091114ab7d5ec98139240 (patch)
tree40d8b957795dac48b5fff312d1be1809003eda88
parente97753321e783ccbfd77a11fad6da03b68e5c295 (diff)
BIND local_zonepath override
-rwxr-xr-xFS/bin/freeside-bind-export5
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/bin/freeside-bind-export b/FS/bin/freeside-bind-export
index 9c5130b11..cc2f2c833 100755
--- a/FS/bin/freeside-bind-export
+++ b/FS/bin/freeside-bind-export
@@ -113,6 +113,9 @@ END
}
+ my $zonepath = $export->option('zonepath');
+ $zonepath =~ s/\/$//;
+
$rsync->exec(
src => "$prefix/",
recursive => 1,
@@ -192,6 +195,6 @@ close NAMED_CONF;
# -----
sub usage {
- die "Usage:\n bind.export user\n";
+ die "Usage:\n freeside-bind-export user\n";
}