Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > b253b1c3d41e2fe8c4e7b60156730c8a > scriptlet

pnp4nagios-0.6.22-2.fc20.x86_64.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