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