Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > d985a11df7afc17401cae7c513d72656 > scriptlet

pxe-1.4.1-3.amd64.rpm

PREUN

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

POSTIN

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