PREIN
/bin/sh
/usr/sbin/groupadd -r www &>/dev/null || : /usr/sbin/useradd -s /bin/false -c "Web server user" \ -d /var/www/thttpd -M -r -g www thttpd &>/dev/null || :
PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service thttpd stop &>/dev/null || : /sbin/chkconfig --del thttpd fi
POSTIN
/bin/sh
if [ $1 -eq 1 ]; then /sbin/chkconfig --add thttpd fi
POSTUN
/bin/sh
if [ $1 -ge 1 ]; then /sbin/service thttpd condrestart &>/dev/null || : fi