Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 9608b449f5a165c006917245570b6998 > scriptlet

xinetd-2.3.14-20.el5_10.x86_64.rpm

PREUN

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

POSTIN

/bin/sh
if [ $1 = 1 ]; then
    /sbin/chkconfig --add xinetd
fi

POSTUN

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