PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service opensm stop /sbin/chkconfig --del opensm rm -f /var/cache/opensm/* fi
POSTIN
/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add opensm else /sbin/service opensm condrestart fi
/bin/sh
if [ $1 = 0 ]; then /sbin/service opensm stop /sbin/chkconfig --del opensm rm -f /var/cache/opensm/* fi
/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add opensm else /sbin/service opensm condrestart fi