meta-selinux/recipes-connectivity/bind/bind_selinux.inc
Yi Zhao 000d0719ad bind: remove volatile file
This file is not needed anymore as bind daemon will create them by
itself.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-11-22 12:23:16 -05:00

5 lines
169 B
PHP

do_install:append() {
sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\
[ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind
}