PREUN
/bin/sh
if [ "$1" = 0 ] then # No conditional stop provided. :( /sbin/service powerman status if [ "$?" -eq 0 ] then /sbin/service powerman stop fi /sbin/chkconfig --del powerman fi
POSTIN
/bin/sh
/sbin/ldconfig /sbin/chkconfig --add powerman