Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > bf9bd883f1538f221311875c2112290d > scriptlet

multipath-tools-0.5.0-3.mga5.i586.rpm

PREUN

/bin/sh

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        systemctl --no-reload disable multipathd.service > /dev/null 2>&1 || : 
        systemctl stop multipathd.service > /dev/null 2>&1 || : 
fi

POSTIN

/bin/sh

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        systemctl preset multipathd.service >/dev/null 2>&1 || : 
fi

POSTUN

/bin/sh

systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        systemctl try-restart multipathd.service >/dev/null 2>&1 || : 
fi