PREUN
/bin/sh
if [ $1 = 0 ]; then service named stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del named; fi;
POSTIN
/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add named; else if [ -f /var/lock/subsys/named ]; then service named restart > /dev/null 2>/dev/null || : ; fi; fi;
echo "You can use the sample named.conf file from the /usr/share/doc/bind-9.2.1 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
Triggers
bind <
8.2.2_P5-15
/bin/sh
/sbin/chkconfig --add named