- rdisc init script added (#151614)

This commit is contained in:
Radek Vokál 2005-04-05 08:31:34 +00:00
parent e911e71ad3
commit 4bb7f2ab0b
3 changed files with 27 additions and 1 deletions

View File

@ -1 +1,2 @@
iputils-ss020927.tar.gz
rdisc.initd

View File

@ -1,12 +1,13 @@
Summary: Network monitoring tools including ping.
Name: iputils
Version: 20020927
Release: 20
Release: 21
License: BSD
Group: System Environment/Daemons
Source0: http://www.tux.org/pub/net/ip-routing/%{name}-ss020927.tar.gz
Source1: ifenslave.c
Source2: README.bonding
Source3: rdisc.initd
Patch0: iputils-20020927-rh.patch
Patch1: iputils-20020124-ping_sparcfix.patch
Patch2: iputils-20020124-rdisc-server.patch
@ -96,6 +97,25 @@ install -c doc/ping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
install -c doc/rdisc.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
install -c doc/tracepath.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
#install service
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/rdisc
%post
/sbin/chkconfig --add rdisc
%preun
if [ $1 = 0 ]; then
service rdisc stop >/dev/null 2>&1
/sbin/chkconfig --del rdisc
fi
%postun
if [ "$1" -ge "1" ]; then
service rdisc restart >/dev/null 2>&1 || :
fi
%clean
rm -rf ${RPM_BUILD_ROOT}
@ -123,8 +143,12 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/tracepath6
%{_sbindir}/traceroute6
%{_mandir}/man8/*
%config(noreplace) %{_sysconfdir}/rc.d/init.d/rdisc
%changelog
* Tue Apr 05 2005 Radek Vokal <rvokal@redhat.com> 20020927-21
- rdisc init script added (#151614)
* Fri Mar 04 2005 Radek Vokal <rvokal@redhat.com> 20020927-20
- arping fix for infiniband (#150156)

View File

@ -1 +1,2 @@
b5493f7a2997130a4f86c486c9993b86 iputils-ss020927.tar.gz
e7747e71819d69dfc599e2630df47b36 rdisc.initd