Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 45fa8a06f3e35800024c1d41f22bcb61 > scriptlet

nscd-2.5-118.el5_10.2.i386.rpm

PREIN

/bin/sh
/usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
	-c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    service nscd stop > /dev/null 2>&1
    /sbin/chkconfig --del nscd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add nscd

POSTUN

/bin/sh
if [ $1 = 0 ] ; then
    /usr/sbin/userdel nscd > /dev/null 2>&1 || :
fi
if [ "$1" -ge "1" ]; then
    service nscd condrestart > /dev/null 2>&1 || :
fi