Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 09e35f45125087f611b562e6199ff874 > scriptlet

pdnsd-1.1.7a-5.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/pdnsd ]; then
		/etc/rc.d/init.d/pdnsd stop
	fi
	/sbin/chkconfig --del pdnsd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add pdnsd
if [ -f /var/lock/subsys/pdnsd ]; then
	/etc/rc.d/init.d/pdnsd restart >&2
else
	echo "Run \"/etc/rc.d/init.d/pdnsd start\" to start pdnsd." >&2
fi