PREIN
/bin/sh
/usr/share/rpm-helper/add-user bind $1 named /var/named /bin/false
PREUN
/bin/sh
/usr/share/rpm-helper/del-service bind $1 named
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service bind $1 named
echo "You can use the sample named.conf file from the /usr/share/doc/bind-9.2.2 directory"
if [ -e /etc/rndc.conf.rpmnew ]; then
/usr/sbin/new_key.pl
fi
if [ -e /etc/named.conf ]; then
/usr/sbin/update_bind.pl
fi
if [ -f /etc/named.boot -a ! -f /etc/named.conf ]; then
if [ -x /usr/sbin/named-bootconf ]; then
cat /etc/named.boot | /usr/sbin/named-bootconf > /etc/named.conf
fi
fi
POSTUN
/bin/sh
/usr/share/rpm-helper/del-user bind $1 named
Triggers
bind <
8.2.2_P5-15
/bin/sh
/sbin/chkconfig --add named