Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 0c1bf75d7f00ce5d062a08f8a7944472 > scriptlet

mon-0.99.2-4.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/mon ]; then
                /etc/rc.d/init.d/mon stop >&2
        fi
        /sbin/chkconfig --del mon
fi

POSTIN

/bin/sh
/sbin/chkconfig --add mon
if [ -f /var/lock/subsys/mon ]; then
        /etc/rc.d/init.d/mon reload 1>&2
else
        echo "Type \"/etc/rc.d/init.d/mon start\" to start inet server" 1>&2
fi