diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/mrd6/files |
Initial import
Diffstat (limited to 'package/mrd6/files')
-rw-r--r-- | package/mrd6/files/mrd6.conf | 14 | ||||
-rw-r--r-- | package/mrd6/files/mrd6.init | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/package/mrd6/files/mrd6.conf b/package/mrd6/files/mrd6.conf new file mode 100644 index 000000000..84ce923a3 --- /dev/null +++ b/package/mrd6/files/mrd6.conf @@ -0,0 +1,14 @@ +log { + attach stderr normal; + attach default "/var/log/mrd6.log" message_err; +} + +interfaces br0 enable = false; // Should be vlan0 + eth1 but Linux bridge seems broken for multicast +interfaces eth0 enable = false; // Interface to internal bridge +handle-proper-bridge = true; // use ETH_P_ALL to see all packets on wrt54g + +// The default configured RP is m6bone's Renater RP. +// Change this according to your setup + +groups ff00::/8 pim rp = 2001:660:3007:300:1::; + diff --git a/package/mrd6/files/mrd6.init b/package/mrd6/files/mrd6.init new file mode 100644 index 000000000..ed3d4bab6 --- /dev/null +++ b/package/mrd6/files/mrd6.init @@ -0,0 +1,25 @@ +#!/bin/sh +#FWINIT 60 +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${mrd6:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + /usr/sbin/mrd6 -f /etc/mrd6.conf -D + ;; +stop) + killall mrd6 + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "Usage: $0 {start | stop | restart}" + ;; +esac +exit $? |