chkconfig wasn't broken, I was :-)
This commit is contained in:
parent
cebfb0e83f
commit
0ee61d620d
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# chkconfig: - 0 99
|
||||
# chkconfig: 2345 0 99
|
||||
# description: script to apply cpu microcode
|
||||
|
||||
# vars:
|
||||
|
@ -71,7 +71,6 @@ 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 -lt 6 ] && exit 0
|
||||
/sbin/chkconfig --add microcode_ctl
|
||||
/sbin/chkconfig microcode_ctl on
|
||||
|
||||
%triggerpostun -- kernel-utils
|
||||
# Only enable on Intel 686's and above.
|
||||
|
Loading…
Reference in New Issue
Block a user