Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 6294ec72d9284d9a7fffab812eae1726 > scriptlet

solid-pop3d-0.16d-7.i686.rpm

PREIN

/bin/sh
if [ -z "`id -u spop3d 2>/dev/null`" ]; then
	/usr/sbin/useradd -u 70 -r -d /var/mail/bulletins -s /bin/false -c "Solid POP3 User" -g nobody spop3d 1>&2
fi

POSTIN

/bin/sh
if [ -f /var/lock/subsys/rc-inetd ]; then
	/etc/rc.d/init.d/rc-inetd reload 1>&2
else
	echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
fi

POSTUN

/bin/sh
if [ -f /var/lock/subsys/rc-inetd ]; then
	/etc/rc.d/init.d/rc-inetd reload 1>&2
fi

if [ "$1" = "0" ]; then
	if [ -n "`id -u spop3d 2>/dev/null`" ]; then
		/usr/sbin/userdel spop3d
	fi
fi