Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 8254d70fb25c71fb7098489829626309 > scriptlet

nrpe-2.12-17.fc15.i686.rpm

PREIN

/bin/sh
/usr/sbin/useradd -c "NRPE user for the NRPE service" -d / -r -s /sbin/nologin nrpe 2> /dev/null || :

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add nrpe || :

POSTUN

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