diff --git a/radvd-1.3-posix.patch b/radvd-1.3-posix.patch index a0bd54b..02102f8 100644 --- a/radvd-1.3-posix.patch +++ b/radvd-1.3-posix.patch @@ -1,6 +1,6 @@ diff -up radvd-1.3/redhat/radvd.init.posix radvd-1.3/redhat/radvd.init ---- radvd-1.3/redhat/radvd.init.posix 2009-10-18 22:02:19.343363622 +0200 -+++ radvd-1.3/redhat/radvd.init 2009-10-18 22:04:48.794336898 +0200 +--- radvd-1.3/redhat/radvd.init.posix 2009-05-25 08:17:28.000000000 +0200 ++++ radvd-1.3/redhat/radvd.init 2009-10-18 22:41:14.859329142 +0200 @@ -47,7 +47,13 @@ case "$1" in daemon radvd $OPTIONS RETVAL=$? @@ -16,3 +16,28 @@ diff -up radvd-1.3/redhat/radvd.init.posix radvd-1.3/redhat/radvd.init ;; stop) echo -n $"Stopping $PROG: " +@@ -65,13 +71,13 @@ case "$1" in + $0 start + RETVAL=$? + ;; +- reload) ++ reload|force-reload) + echo -n $"Reloading $PROG: " + killproc radvd -HUP + RETVAL=$? + echo + ;; +- condrestart) ++ condrestart|try-restart) + if [ -f $LOCKFILE ]; then + $0 stop + $0 start +@@ -79,7 +85,7 @@ case "$1" in + fi + ;; + *) +- echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" ++ echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}" + exit 2 + esac + diff --git a/radvd.init b/radvd.init index f9c5e42..f72739a 100644 --- a/radvd.init +++ b/radvd.init @@ -71,13 +71,13 @@ case "$1" in $0 start RETVAL=$? ;; - reload) + reload|force-reload) echo -n $"Reloading $PROG: " killproc radvd -HUP RETVAL=$? echo ;; - condrestart) + condrestart|try-restart) if [ -f $LOCKFILE ]; then $0 stop $0 start @@ -85,7 +85,7 @@ case "$1" in fi ;; *) - echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" + echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}" exit 2 esac diff --git a/radvd.spec b/radvd.spec index cc14bdb..cfa3f02 100644 --- a/radvd.spec +++ b/radvd.spec @@ -5,7 +5,7 @@ Summary: A Router Advertisement daemon Name: radvd Version: 1.3 -Release: 3%{?dist} +Release: 4%{?dist} # The code includes the advertising clause, so it's GPL-incompatible License: BSD with advertising Group: System Environment/Daemons @@ -95,6 +95,9 @@ fi %{_sbindir}/radvdump %changelog +* Sun Oct 18 2009 Jiri Skala - 1.3-4 +- fixed #528178 - added force-reload + * Sun Oct 18 2009 Jiri Skala - 1.3-3 - fixed #528178 - retval in init script to be posix compliant