summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/bind910/files/smf/named.sh2
-rw-r--r--net/bind99/files/smf/named.sh2
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" \