Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > b7e8b4744017b3450a043405d3c98c86 > scriptlet

i8kutils-1.33-1.fc15.i686.rpm

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