diff options
author | miwi <miwi@FreeBSD.org> | 2008-11-22 04:34:49 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-11-22 04:34:49 +0800 |
commit | 26494cb543cc5782e35a357aeaa6ef1b05fbe04c (patch) | |
tree | 3e10f57a9ba75f7e19869a8aa31f339bda95a6f8 /dns/nsd/files | |
parent | aedeb01ff99a877a9e08fb81b1815a633208a585 (diff) | |
download | freebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.tar.gz freebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.tar.zst freebsd-ports-gnome-26494cb543cc5782e35a357aeaa6ef1b05fbe04c.zip |
- Update to 3.2.0
PR: 128818
Submitted by: Olafur Osvaldsson <osvaldsson@icelandic.net> (maintainer)
Diffstat (limited to 'dns/nsd/files')
-rw-r--r-- | dns/nsd/files/nsd.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dns/nsd/files/nsd.in b/dns/nsd/files/nsd.in index 50a0224dfd3a..261d5ee9295c 100644 --- a/dns/nsd/files/nsd.in +++ b/dns/nsd/files/nsd.in @@ -24,5 +24,16 @@ load_rc_config ${name} nsd_enable=${nsd_enable-"NO"} +stop_cmd="nsd_stop" + +nsd_stop() +{ + echo "Merging nsd zone transfer changes to zone files." + %%PREFIX%%/sbin/nsdc patch + + echo "Stopping nsd." + %%PREFIX%%/sbin/nsdc stop +} + run_rc_command "$1" |