Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 7d575b5eea529da8e0fc185caddb6881 > scriptlet

openhpi-2.14.0-5.el5.i386.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /sbin/service openhpid stop >/dev/null 2>&1
    /sbin/chkconfig --del openhpid
fi

POSTIN

/bin/sh
/sbin/chkconfig --add openhpid

POSTUN

/bin/sh
if [ "$1" -ge "1" ] ; then
    /sbin/service openhpid condrestart >/dev/null 2>&1 || :
fi