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