Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4e80dfeea05405e2b6f39ad0fd02d292 > scriptlet

mdadm-3.1.5-2.fc15.i686.rpm

PREUN

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

POSTIN

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

POSTUN

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