Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > ec6bfdc637020352f99784b8b108bcd4 > scriptlet

openhpi-subagent-2.14.0-5.el5.i386.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add openhpi-subagent

POSTUN

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