PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service ibmasm stop > /dev/null 2>&1 /sbin/chkconfig --del ibmasm fi
POSTIN
/bin/sh
/sbin/ldconfig if [ $1 = 1 ]; then /sbin/chkconfig --add ibmasm /sbin/lspci -n | grep "1014:010f" > /dev/null 2>&1 if [ $? == 0 ]; then /sbin/chkconfig --level 35 ibmasm on fi fi
POSTUN
/bin/sh
/sbin/ldconfig if [ $1 -ge 1 ]; then /sbin/service ibmasm condrestart >/dev/null 2>&1 fi