- Fixed the unwanted output of failed module loading of the initscript.

Behaves now like all our other initscripts (#165476)
This commit is contained in:
Phil Knirsch 2005-08-12 15:54:50 +00:00
parent 1dd9814a87
commit e94f0b1f8d
2 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
Name: OpenIPMI
Version: 1.4.14
Release: 6
Release: 7
License: GPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/openipmi/
@ -13,7 +13,7 @@ Source4: openipmi.initscript
Patch1: OpenIPMI-1.4.11-gcc4.patch
Patch2: OpenIPMI-1.4.14-oob.patch
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildPrereq: gdbm-devel swig
BuildPrereq: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
%description
The Open IPMI project aims to develop an open code base to allow access to
@ -52,10 +52,10 @@ of the OpenIPMI project.
%build
%configure
make LIBTOOL=%{_bindir}/libtool
make
pushd ipmitool-%{ipmitoolver}
%configure
make LIBTOOL=%{_bindir}/libtool
make
popd
%install
@ -124,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
* Fri Aug 12 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-7
- Fixed the unwanted output of failed module loading of the initscript. Behaves
now like all our other initscripts (#165476)
* Fri Aug 05 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-6
- Fixed build problem on 64bit machines

View File

@ -167,7 +167,7 @@ load_ipmi_modules ()
start()
{
echo -n $"Starting ${MODULE_NAME} drivers: "
load_ipmi_modules
load_ipmi_modules >/dev/null 2>&1
[ "${RETVAL}" = "1" ] && log_failure_msg && return
[ "${RETVAL}" = "2" ] && touch ${LOCKFILE} && log_warning_msg
[ "${RETVAL}" = "0" ] && touch ${LOCKFILE} && log_success_msg