Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > d033ddc8b8a2e5b413004af7e6192fe9 > scriptlet

bootparamd-0.17-10.i686.rpm

PREUN

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

POSTIN

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