PREIN
/bin/sh
/usr/sbin/groupadd -r -f sqlgrey /usr/sbin/groupadd -r -f mailadm /usr/sbin/useradd -r -n -g sqlgrey -d /var/lib/sqlgrey -s /dev/null -c sqlgrey sqlgrey >/dev/null 2>&1 ||:
PREUN
/bin/sh
if [ $1 = 0 ]; then /etc/rc.d/init.d/sqlgrey condstop /sbin/chkconfig --del sqlgrey /bin/rm -f /var/lib/sqlgrey/* fi
POSTIN
/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add sqlgrey fi if [ $1 -ge 2 ]; then /etc/rc.d/init.d/sqlgrey condrestart fi