Not sure if the trigger on kernel-utils removal actually runs though.
This commit is contained in:
parent
aa0f713642
commit
cebfb0e83f
@ -73,7 +73,7 @@ family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print
|
|||||||
/sbin/chkconfig --add microcode_ctl
|
/sbin/chkconfig --add microcode_ctl
|
||||||
/sbin/chkconfig microcode_ctl on
|
/sbin/chkconfig microcode_ctl on
|
||||||
|
|
||||||
%triggerpostun -- microcode_ctl
|
%triggerpostun -- kernel-utils
|
||||||
# Only enable on Intel 686's and above.
|
# Only enable on Intel 686's and above.
|
||||||
vendor=`cat /proc/cpuinfo | grep "^vendor_id" | sort -u | awk -F ": " '{ print $2 }'`
|
vendor=`cat /proc/cpuinfo | grep "^vendor_id" | sort -u | awk -F ": " '{ print $2 }'`
|
||||||
[ "$vendor" != "GenuineIntel" ] && exit 0
|
[ "$vendor" != "GenuineIntel" ] && exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user