PREUN
/bin/sh
if [ "$1" == "0" ]; then /sbin/service hplip stop >/dev/null 2>&1 || : /sbin/chkconfig --del hplip fi exit 0
POSTIN
/bin/sh
/sbin/chkconfig --add hplip || : if [ "$1" -ge "1" ]; then /sbin/service hplip condrestart >/dev/null 2>&1 || : fi exit 0