shorter probe interval is used in init script, making the service startup

quicker in most situations Resolves: #475101
This commit is contained in:
Jan Šafránek 2008-12-10 13:56:38 +00:00
parent 826f88605c
commit a67b803d7d
2 changed files with 7 additions and 3 deletions

View File

@ -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 <jsafrane@redhat.com> - 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 <ivazqueznet+rpm@gmail.com> - 2.0.14-7
- Rebuild for Python 2.6

View File

@ -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