PREUN
/bin/sh
if [ "$1" = 0 ]; then /etc/rc.d/init.d/lpd stop >/dev/null 2>&1 /sbin/chkconfig --del lpd /usr/sbin/update-alternatives --remove lpc /usr/sbin/lpc-lpd fi
POSTIN
/bin/sh
/sbin/chkconfig --add lpd /usr/sbin/update-alternatives --install /usr/sbin/lpc lpc /usr/sbin/lpc-lpd 5 --slave \ /usr/share/man/man8/lpc.8.lzma lpc.1.bz2 /usr/share/man/man8/lpc-lpd.8.lzma
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then /etc/rc.d/init.d/lpd condrestart >/dev/null 2>&1 fi