summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/bind910/files/smf/named.sh3
-rw-r--r--net/bind911/files/smf/named.sh3
-rw-r--r--net/bind912/files/smf/named.sh3
3 files changed, 9 insertions, 0 deletions
diff --git a/net/bind910/files/smf/named.sh b/net/bind910/files/smf/named.sh
index 8bf5724eb13..cd5fa25e5f2 100644
--- a/net/bind910/files/smf/named.sh
+++ b/net/bind910/files/smf/named.sh
@@ -201,6 +201,9 @@ case "$method" in
rndc_config_file=${chroot_dir}${rndc_config_file}
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+ else
+ mkdir -p @VARBASE@/run/named
+ chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
# Check if the rndc config file exists.
diff --git a/net/bind911/files/smf/named.sh b/net/bind911/files/smf/named.sh
index 8bf5724eb13..cd5fa25e5f2 100644
--- a/net/bind911/files/smf/named.sh
+++ b/net/bind911/files/smf/named.sh
@@ -201,6 +201,9 @@ case "$method" in
rndc_config_file=${chroot_dir}${rndc_config_file}
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+ else
+ mkdir -p @VARBASE@/run/named
+ chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
# Check if the rndc config file exists.
diff --git a/net/bind912/files/smf/named.sh b/net/bind912/files/smf/named.sh
index 8bf5724eb13..cd5fa25e5f2 100644
--- a/net/bind912/files/smf/named.sh
+++ b/net/bind912/files/smf/named.sh
@@ -201,6 +201,9 @@ case "$method" in
rndc_config_file=${chroot_dir}${rndc_config_file}
rndc_key_file=${chroot_dir}${rndc_key_file}
rndc_cmd_opts="${rndc_cmd_opts} -t ${chroot_dir}"
+ else
+ mkdir -p @VARBASE@/run/named
+ chown ${cmduser}:${cmduser} @VARBASE@/run/named
fi
# Check if the rndc config file exists.