Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > by-pkgid > 9e710e425a7c66b49f709cb3cb452295 > scriptlet

ntp-4.0.99k-3.1mdk.i586.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add ntpd

POSTUN

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