PREIN
/bin/sh
if [ $1 == 1 ]; then /usr/sbin/useradd -c "tinyproxy user" -s /bin/false -r -d /var/run/tinyproxy tinyproxy 2>/dev/null || : fi
PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service tinyproxy stop >/dev/null 2>&1 /sbin/chkconfig --del tinyproxy fi
POSTIN
/bin/sh
if [ $1 == 1 ]; then /sbin/chkconfig --add tinyproxy fi
POSTUN
/bin/sh
if [ $1 == 2 ]; then /sbin/service tinyproxy condrestart > /dev/null 2>&1 || : fi