Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 9d1ec6ab90711ef199bbc6a93c8d5d3b > scriptlet

i8kutils-1.25-17.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