Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > d498f357dce78c108f23dd789536700d > scriptlet

smokeping-2.4.2-10.fc12.noarch.rpm

PREUN

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

POSTIN

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

POSTUN

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