Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 02228ed4bd449f71e80ee8d4d8989e50 > scriptlet

openct-0.6.11-1.amd64.rpm

PREUN

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

POSTIN

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