Sophie

Sophie

distrib > Mandriva > 7.1 > i586 > by-pkgid > 598b9da2e6fa9d2a6676b22f70c259b2 > scriptlet

bind-8.2.2P5-5mdk.i586.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
   /sbin/chkconfig --del named
fi

POSTIN

/bin/sh
/sbin/chkconfig --add named
if [ -f /etc/named.boot -a ! -f /etc/named.conf ]; then
  if [ -x /usr/doc/bind-8.2.2P5/named-bootconf.pl ]; then
    cat /etc/named.boot | /usr/doc/bind-8.2.2P5/named-bootconf.pl > /etc/named.conf
    chmod 644 /etc/named.conf
  fi
fi