Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 5014208e33345d5dba8bcc8d33ebc265 > scriptlet

bind-9.2.3-6mdk.i586.rpm

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.3 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