summaryrefslogtreecommitdiff
path: root/net/bind910
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-12-13 12:05:15 +0000
committerjperkin <jperkin@pkgsrc.org>2017-12-13 12:05:15 +0000
commitdd3cc1914c051b27d851255cb2ccfdd37f9828bc (patch)
tree6ff007fc96392b23f7f4aefa74d4ec3b927887f4 /net/bind910
parent2a4cedc48b9bef547405c2d7fccc6262e22792db (diff)
downloadpkgsrc-dd3cc1914c051b27d851255cb2ccfdd37f9828bc.tar.gz
bind9{9,10}: Fix path to rndc-confgen in SMF.
Diffstat (limited to 'net/bind910')
-rw-r--r--net/bind910/files/smf/named.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bind910/files/smf/named.sh b/net/bind910/files/smf/named.sh
index fb3e2638d28..8bf5724eb13 100644
--- a/net/bind910/files/smf/named.sh
+++ b/net/bind910/files/smf/named.sh
@@ -208,7 +208,7 @@ case "$method" in
# If not, check if the default rndc key file exists.
if [ ! -f ${rndc_key_file} ]; then
echo "$I: Creating default rndc key file: ${rndc_key_file}." >&2
- /usr/sbin/rndc-confgen ${rndc_cmd_opts}
+ @PREFIX@/sbin/rndc-confgen ${rndc_cmd_opts}
if [ $? -ne 0 ]; then
echo "$I : Warning: rndc configuration failed! Use of 'rndc' to" \
"control 'named' may fail and 'named' may report further error" \