Sophie

Sophie

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

rwho-0.17-13.i686.rpm

PREUN

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

POSTIN

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