Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > a0a1e852accf0f47fd8330500240fec7 > scriptlet

pnp4nagios-0.4.14-3.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add npcd

POSTUN

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