From 0ee61d620d9636fe4a8786624e4147ad4a2e75fe Mon Sep 17 00:00:00 2001 From: Jon Masters Date: Fri, 13 Oct 2006 03:26:56 +0000 Subject: [PATCH] chkconfig wasn't broken, I was :-) --- microcode_ctl.init | 2 +- microcode_ctl.spec | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/microcode_ctl.init b/microcode_ctl.init index 6b90714..2944057 100755 --- a/microcode_ctl.init +++ b/microcode_ctl.init @@ -1,5 +1,5 @@ #!/bin/bash -# chkconfig: - 0 99 +# chkconfig: 2345 0 99 # description: script to apply cpu microcode # vars: diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 92cc626..d09bd6f 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -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.