Changeset 30175


Ignore:
Timestamp:
2012-02-05T04:27:10+01:00 (4 years ago)
Author:
jow
Message:

[packages_10.03.2] mrd6: merge r28925

Location:
branches/packages_10.03.2/ipv6/mrd6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/ipv6/mrd6/Makefile

    r27676 r30175  
    1010PKG_NAME:=mrd6 
    1111PKG_VERSION:=0.9.6 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz 
     
    2626  TITLE:=IPv6 multicast routing daemon 
    2727  URL:=http://fivebits.net/proj/mrd6 
    28   DEPENDS:=+libstdcpp 
     28  DEPENDS:=+kmod-ipv6 +libstdcpp 
    2929endef 
    3030 
  • branches/packages_10.03.2/ipv6/mrd6/files/mrd6.init

    r10734 r30175  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
    56start() { 
    6         /sbin/lsmod | grep ipv6 > /dev/null 
    7         if [ "$?" != "0" ]; then 
    8                 echo -n "IPv6 stack required by mrd6. Loading ipv6 module: " 
    9                 /sbin/insmod ipv6 
    10                 echo "Done." 
    11         fi 
    12         echo -n "Starting IPv6 multicast router (mrd6): " 
    13         /usr/sbin/mrd6 -f /etc/mrd6.conf -D 
    14         echo "Done." 
     7        service_start /usr/sbin/mrd6 -f /etc/mrd6.conf -D 
    158} 
    169 
    1710stop() { 
    18         echo -n "Stopping IPv6 multicast router (mrd6): " 
    19         killall mrd6 
    20         echo "Done." 
     11        service_stop /usr/sbin/mrd6 
    2112} 
    2213 
Note: See TracChangeset for help on using the changeset viewer.