Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 023c2b60590c55dfbdfed339e65324d9 > scriptlet

device-mapper-multipath-0.4.9-14.fc13.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add multipathd
if [ "$1" -gt "1" -a ! -e /etc/multipath/bindings -a \
    -f /var/lib/multipath/bindings ]; then
	mv /var/lib/multipath/bindings /etc/multipath/bindings
	ln -s /etc/multipath/bindings /var/lib/multipath/bindings
fi

POSTUN

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