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