explicitly call chkconfig to turn on service (did chkconfig behavior
change?)
This commit is contained in:
parent
44190f3dc9
commit
aa0f713642
@ -71,6 +71,7 @@ vendor=`cat /proc/cpuinfo | grep "^vendor_id" | sort -u | awk -F ": " '{ print $
|
|||||||
family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print $2 }'`
|
family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print $2 }'`
|
||||||
[ $family -lt 6 ] && exit 0
|
[ $family -lt 6 ] && exit 0
|
||||||
/sbin/chkconfig --add microcode_ctl
|
/sbin/chkconfig --add microcode_ctl
|
||||||
|
/sbin/chkconfig microcode_ctl on
|
||||||
|
|
||||||
%triggerpostun -- microcode_ctl
|
%triggerpostun -- microcode_ctl
|
||||||
# Only enable on Intel 686's and above.
|
# Only enable on Intel 686's and above.
|
||||||
|
Loading…
Reference in New Issue
Block a user