PREUN
/bin/sh
if [ $1 -eq 0 ]; then # Disable driver on final removal /etc/rc.d/init.d/lcdproc stop &>/dev/null /etc/rc.d/init.d/LCDd stop &>/dev/null /sbin/chkconfig --del lcdproc /sbin/chkconfig --del LCDd ||: fi
POSTIN
/bin/sh
if [ $1 -eq 1 ]; then # Add init script but don't start it /sbin/chkconfig --add LCDd /sbin/chkconfig --add lcdproc ||: fi