Sophie

Sophie

distrib > Momonga > 7 > x86_64 > media > os > by-pkgid > b2fa7d9d202d01d38ddbdd6fd4fce4a2 > scriptlet

dictd-1.9.15-9m.mo7.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/dictd ]; then
		/sbin/service dictd stop >&2
	fi
	/sbin/chkconfig --del dictd
fi

POSTIN

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