From e95cb1cb90dff7a2560ec424521ab5eb561a5809 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 25 Jun 2009 23:35:01 +0000 Subject: [PATCH] Shorten sleep time during init. This really needs to be replaced with proper udev hooks, but this is a quick interim fix. --- microcode_ctl.init | 2 +- microcode_ctl.spec | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/microcode_ctl.init b/microcode_ctl.init index 1acdebb..64856f7 100755 --- a/microcode_ctl.init +++ b/microcode_ctl.init @@ -47,7 +47,7 @@ function start () while [ ! -c $DEVICE ]; do lt=$[lt+1]; [ $lt -gt 5 ] && break; - sleep 1; + sleep 0.1; done # Lets just be sure we have a device file... diff --git a/microcode_ctl.spec b/microcode_ctl.spec index c7fd750..2482e99 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -78,6 +78,11 @@ family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print exit 0 %changelog +* Thu Jun 25 2009 Dave Jones +- Shorten sleep time during init. + This really needs to be replaced with proper udev hooks, but this is + a quick interim fix. + * Wed Jun 03 2009 Kyle McMartin 1:1.17-1.50 - Change ExclusiveArch to i586 instead of i386. Resolves rhbz#497711.