Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 9206377bd93a17f8956fc7b0b641a63f > scriptlet

ibmasm-3.0-17.fc12.i686.rpm

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