From a67b803d7d72d2e67b2eab8f2362e15ea73066b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Wed, 10 Dec 2008 13:56:38 +0000 Subject: [PATCH] shorter probe interval is used in init script, making the service startup quicker in most situations Resolves: #475101 --- OpenIPMI.spec | 6 +++++- openipmi.initscript | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index cd70856..53ba314 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.14 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD and BSD with advertising and LGPLv2+ and GPLv2+ Group: System Environment/Base URL: http://sourceforge.net/projects/openipmi/ @@ -164,6 +164,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/fedora-openipmigui.desktop %changelog +* Wed Dec 10 2008 Jan Safranek - 2.0.14-8 +- shorter probe interval is used in init script, making the service startup + quicker in most situations (#475101) + * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 2.0.14-7 - Rebuild for Python 2.6 diff --git a/openipmi.initscript b/openipmi.initscript index 3bb49bf..3eda3f8 100644 --- a/openipmi.initscript +++ b/openipmi.initscript @@ -111,7 +111,7 @@ MODULES="${MODULES_INTERFACES} ${MODULES_FEATURES} ${MODULES_HW} ${MODULES_BASE} RETVAL=0 LOCKFILE=/var/lock/subsys/ipmi -DEV_IPMI_TIMEOUT=15 +DEV_IPMI_TIMEOUT=150 UDEV_EXISTS=0 if [ -e /sbin/udev -o -e /sbin/udevd ]; then @@ -384,7 +384,7 @@ load_ipmi_modules () locdelay=${DEV_IPMI_TIMEOUT} while [ ! -e /dev/ipmi${INTF_NUM} -a ${locdelay} -gt 0 ]; do locdelay=$((locdelay - 1)) - sleep 1 + sleep 0.1 done fi fi