PKG_NAME:=mrd6
PKG_VERSION:=0.9.6
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mrd6/
CATEGORY:=IPv6
TITLE:=IPv6 multicast routing daemon
URL:=http://fivebits.net/proj/mrd6
- DEPENDS:=+libstdcpp
+ DEPENDS:=+kmod-ipv6 +libstdcpp
endef
define Package/mrd6/description
#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
+
START=50
start() {
- /sbin/lsmod | grep ipv6 > /dev/null
- if [ "$?" != "0" ]; then
- echo -n "IPv6 stack required by mrd6. Loading ipv6 module: "
- /sbin/insmod ipv6
- echo "Done."
- fi
- echo -n "Starting IPv6 multicast router (mrd6): "
- /usr/sbin/mrd6 -f /etc/mrd6.conf -D
- echo "Done."
+ service_start /usr/sbin/mrd6 -f /etc/mrd6.conf -D
}
stop() {
- echo -n "Stopping IPv6 multicast router (mrd6): "
- killall mrd6
- echo "Done."
+ service_stop /usr/sbin/mrd6
}