PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service i8k stop &>/dev/null /sbin/chkconfig --del i8k fi
POSTIN
/bin/sh
/sbin/chkconfig --add i8k # This is the old service name... if we just updated, stop. Don't bother # starting the new service since its default configuration only loads the # kernel module, which is already loaded in this case! /sbin/chkconfig --del i8kbuttons &>/dev/null || : if [ -f /var/lock/subsys/i8kbuttons ]; then /sbin/service i8kbuttons stop &>/dev/null fi