odhcp6c: Send RS on start
authorSteven Barth <cyrus@openwrt.org>
Sun, 13 Jan 2013 18:06:24 +0000 (18:06 +0000)
committerSteven Barth <cyrus@openwrt.org>
Sun, 13 Jan 2013 18:06:24 +0000 (18:06 +0000)
SVN-Revision: 35137

package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script

index f97e6ac2acb83bfd110c1267f87b0c7a117a463e..1a3296d36cb9dfdb971fd06102fda12d361dd9f6 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcp6c
-PKG_VERSION:=2013-01-11
+PKG_VERSION:=2013-01-13
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
index 8f258f5c3757b88d11b8437a3c76859a21803f82..859ae1b7454521b7d14e73acc45619d4b1a73435 100755 (executable)
@@ -19,6 +19,9 @@ prepare_interface() {
 
        ipv6_conf "$device" accept_ra 2
        ipv6_conf "$device" forwarding 2
+
+       # Send RS
+       [ -x /usr/sbin/6relayd ] && /usr/sbin/6relayd -s "$device"
 }
 
 cleanup_interface() {