From 9e174abc4a5fd5fe14b974b1ab20933874ddb112 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Fri, 17 Jan 2014 15:25:52 +0800 Subject: radvd: update to 1.9.8 Update radvd to version 1.9.8 * remove change-scanner-dependency.patch which is merged * add 'status' subcommand for radvd.init Signed-off-by: Kai Kang Signed-off-by: Martin Jansa --- .../radvd/files/change-scanner-dependency.patch | 24 ---------------------- .../recipes-daemons/radvd/files/radvd.init | 9 +++++++- 2 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch (limited to 'meta-networking/recipes-daemons/radvd/files') diff --git a/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch b/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch deleted file mode 100644 index b190866c4..000000000 --- a/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch +++ /dev/null @@ -1,24 +0,0 @@ -scanner.c is generated by flex using scanner.l, scanner.l needs gram.h -when produce scanner.c, so redefine the dependency relation - -Upstream-Status: Pending - -Signed-off-by: Roy.Li ---- - Makefile.am | 3 +-- - 1 files changed, 1 insertions(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 04b834b..2da986c 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -131,5 +131,4 @@ dist-hook: - rm -f $(distdir)/gram.h - rm -f $(distdir)/scanner.c - --scanner.o: gram.h -- -+scanner.c: gram.h --- -1.7.4.1 - diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.init b/meta-networking/recipes-daemons/radvd/files/radvd.init index a48dff8c8..921384cb0 100755 --- a/meta-networking/recipes-daemons/radvd/files/radvd.init +++ b/meta-networking/recipes-daemons/radvd/files/radvd.init @@ -9,6 +9,9 @@ # Description: router advertisement daemon ### END INIT INFO +# Source function library. +. /etc/init.d/functions + PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/radvd NAME=radvd @@ -95,6 +98,10 @@ case "$1" in rm -f $SAVED_SETTINGS echo "$NAME." ;; + status) + status $DAEMON; + exit $? + ;; reload|force-reload) echo "Reloading $DESC configuration files." start-stop-daemon --stop --signal HUP --quiet --pidfile \ @@ -116,7 +123,7 @@ case "$1" in ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|status|restart|reload|force-reload}" >&2 exit 1 ;; esac -- cgit v1.2.3-54-g00ecf