- Fixed the unwanted output of failed module loading of the initscript.
Behaves now like all our other initscripts (#165476)
This commit is contained in:
parent
1dd9814a87
commit
e94f0b1f8d
@ -2,7 +2,7 @@
|
|||||||
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 1.4.14
|
Version: 1.4.14
|
||||||
Release: 6
|
Release: 7
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/openipmi/
|
URL: http://sourceforge.net/projects/openipmi/
|
||||||
@ -13,7 +13,7 @@ Source4: openipmi.initscript
|
|||||||
Patch1: OpenIPMI-1.4.11-gcc4.patch
|
Patch1: OpenIPMI-1.4.11-gcc4.patch
|
||||||
Patch2: OpenIPMI-1.4.14-oob.patch
|
Patch2: OpenIPMI-1.4.14-oob.patch
|
||||||
BuildRoot: /var/tmp/%{name}-%{version}-root
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
||||||
BuildPrereq: gdbm-devel swig
|
BuildPrereq: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Open IPMI project aims to develop an open code base to allow access to
|
The Open IPMI project aims to develop an open code base to allow access to
|
||||||
@ -52,10 +52,10 @@ of the OpenIPMI project.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make LIBTOOL=%{_bindir}/libtool
|
make
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%configure
|
%configure
|
||||||
make LIBTOOL=%{_bindir}/libtool
|
make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -124,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 05 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-6
|
||||||
- Fixed build problem on 64bit machines
|
- Fixed build problem on 64bit machines
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ load_ipmi_modules ()
|
|||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
echo -n $"Starting ${MODULE_NAME} drivers: "
|
echo -n $"Starting ${MODULE_NAME} drivers: "
|
||||||
load_ipmi_modules
|
load_ipmi_modules >/dev/null 2>&1
|
||||||
[ "${RETVAL}" = "1" ] && log_failure_msg && return
|
[ "${RETVAL}" = "1" ] && log_failure_msg && return
|
||||||
[ "${RETVAL}" = "2" ] && touch ${LOCKFILE} && log_warning_msg
|
[ "${RETVAL}" = "2" ] && touch ${LOCKFILE} && log_warning_msg
|
||||||
[ "${RETVAL}" = "0" ] && touch ${LOCKFILE} && log_success_msg
|
[ "${RETVAL}" = "0" ] && touch ${LOCKFILE} && log_success_msg
|
||||||
|
Loading…
Reference in New Issue
Block a user