Sophie

Sophie

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

rhnsd-4.7.0-14.el5.i386.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /etc/rc.d/init.d/rhnsd stop >/dev/null 2>&1
    /sbin/chkconfig --del rhnsd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add rhnsd

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
    /etc/rc.d/init.d/rhnsd condrestart >/dev/null 2>&1 || :
fi