Sophie

Sophie

distrib > Fedora > 15 > x86_64 > media > os > by-pkgid > 400c61ade970f80cd6be7177fb5460a4 > scriptlet

openhpi-2.15.0-2.fc15.x86_64.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