diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-12-13 12:05:15 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-12-13 12:05:15 +0000 |
commit | dd3cc1914c051b27d851255cb2ccfdd37f9828bc (patch) | |
tree | 6ff007fc96392b23f7f4aefa74d4ec3b927887f4 /net | |
parent | 2a4cedc48b9bef547405c2d7fccc6262e22792db (diff) | |
download | pkgsrc-dd3cc1914c051b27d851255cb2ccfdd37f9828bc.tar.gz |
bind9{9,10}: Fix path to rndc-confgen in SMF.
Diffstat (limited to 'net')
-rw-r--r-- | net/bind910/files/smf/named.sh | 2 | ||||
-rw-r--r-- | net/bind99/files/smf/named.sh | 2 |
2 files changed, 2 insertions, 2 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" \ diff --git a/net/bind99/files/smf/named.sh b/net/bind99/files/smf/named.sh index fb3e2638d28..8bf5724eb13 100644 --- a/net/bind99/files/smf/named.sh +++ b/net/bind99/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" \ |