Sophie

Sophie

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

arpwatch-2.1a13-22.el5.i386.rpm

PREIN

/bin/sh
/usr/sbin/groupadd -g 77 pcap  2> /dev/null
/usr/sbin/useradd -u 77 -g 77 \
	-s /sbin/nologin -M -r -d /var/arpwatch pcap 2> /dev/null \
	|| /usr/bin/chsh pcap /sbin/nologin 2> /dev/null
exit 0

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add arpwatch

POSTUN

/bin/sh
/sbin/service arpwatch condrestart >/dev/null 2>&1 || :