diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-03-01 21:46:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-03-01 21:46:50 +0000 |
commit | 8b12d34fab74b08da1b3acacb75e118f0b6fe2da (patch) | |
tree | 5eb27ef1bf04a9048168a8e036965f28d95b599e /net/bind911 | |
parent | e8b426e3c4cd0cc6bb8d3cd8255f10d1abdeb4f3 (diff) | |
download | pkgsrc-8b12d34fab74b08da1b3acacb75e118f0b6fe2da.tar.gz |
bind*: Ensure named directory is created on SunOS.
Diffstat (limited to 'net/bind911')
-rw-r--r-- | net/bind911/files/smf/named.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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. |