PREUN
/bin/sh
if [ "$1" = "0" ] ; then /sbin/chkconfig --del microcode_ctl fi
POSTIN
/bin/sh
# Only enable on Intel 686's and above. vendor=`cat /proc/cpuinfo | grep "^vendor_id" | sort -u | awk -F ": " '{ print $2 }'` [ "$vendor" != "GenuineIntel" ] && exit 0 family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print $2 }'` [ $family -lt 6 ] && exit 0 /sbin/chkconfig --add microcode_ctl