Fixed rpm scritps to handle renamed freeipmi services
This commit is contained in:
parent
96939967ff
commit
eca1c96898
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2003 FreeIPMI Core Team
|
# Copyright (c) 2003 FreeIPMI Core Team
|
||||||
#
|
#
|
||||||
|
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Name: freeipmi
|
Name: freeipmi
|
||||||
Version: 0.8.2
|
Version: 0.8.2
|
||||||
@ -103,31 +103,31 @@ fi
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%post bmc-watchdog
|
%post bmc-watchdog
|
||||||
/sbin/chkconfig --add freeipmi-bmc-watchdog
|
/sbin/chkconfig --add bmc-watchdog
|
||||||
|
|
||||||
%preun bmc-watchdog
|
%preun bmc-watchdog
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/service freeipmi-bmc-watchdog stop >/dev/null 2>&1
|
/sbin/service bmc-watchdog stop >/dev/null 2>&1
|
||||||
/sbin/chkconfig --del freeipmi-bmc-watchdog
|
/sbin/chkconfig --del bmc-watchdog
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun bmc-watchdog
|
%postun bmc-watchdog
|
||||||
if [ "$1" -ge "1" ] ; then
|
if [ "$1" -ge "1" ] ; then
|
||||||
/sbin/service freeipmi-bmc-watchdog condrestart >/dev/null 2>&1 || :
|
/sbin/service bmc-watchdog condrestart >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post ipmidetectd
|
%post ipmidetectd
|
||||||
/sbin/chkconfig --add freeipmi-ipmidetectd
|
/sbin/chkconfig --add ipmidetectd
|
||||||
|
|
||||||
%preun ipmidetectd
|
%preun ipmidetectd
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/service freeipmi-ipmidetectd stop >/dev/null 2>&1
|
/sbin/service ipmidetectd stop >/dev/null 2>&1
|
||||||
/sbin/chkconfig --del freeipmi-ipmidetectd
|
/sbin/chkconfig --del ipmidetectd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun ipmidetectd
|
%postun ipmidetectd
|
||||||
if [ "$1" -ge "1" ] ; then
|
if [ "$1" -ge "1" ] ; then
|
||||||
/sbin/service/freeipmi-ipmidetectd condrestart >/dev/null 2>&1 || :
|
/sbin/service ipmidetectd condrestart >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -306,6 +306,9 @@ fi
|
|||||||
%{_mandir}/man8/ipmidetectd.8*
|
%{_mandir}/man8/ipmidetectd.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 14 2010 Jan Safranek <jsafrane@redhat.com> - 0.8.2-2
|
||||||
|
- Fixed rpm scripts to handle new names of freeipmi services
|
||||||
|
|
||||||
* Thu Jan 7 2010 Jan Safranek <jsafrane@redhat.com> - 0.8.2-1
|
* Thu Jan 7 2010 Jan Safranek <jsafrane@redhat.com> - 0.8.2-1
|
||||||
- Update to freeipmi-0.8.2
|
- Update to freeipmi-0.8.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user