batman-adv: update package to latest release (2010.2.0)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24075 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
marek 2010-11-22 01:56:39 +00:00
parent 77786f17ec
commit 47bb3b59c2
3 changed files with 10 additions and 4 deletions

View File

@ -10,9 +10,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=batman-adv
PKG_VERSION:=2010.1.0
PKG_MD5SUM:=81aef7e965b516d5ba75f92b0039ddd1
BATCTL_MD5SUM:=ae1996621d0d72c0822d33a463cdaf70
PKG_VERSION:=2010.2.0
PKG_MD5SUM:=c233f06bd94432d7697ad78241e8bdd6
BATCTL_MD5SUM:=f16d7332576c7b4fc9f8a37add235225
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION)

View File

@ -5,4 +5,5 @@ config 'mesh' 'bat0'
option 'log_level'
option 'aggregated_ogms'
option 'bonding'
option 'fragmentation'
option 'vis_mode'

View File

@ -13,7 +13,7 @@ is_module_loaded() {
start_mesh () {
local meshif="$1"
local interfaces orig_interval log_level aggregated_ogms bonding vis_mode
local interfaces orig_interval log_level aggregated_ogms bonding fragmentation vis_mode
is_module_loaded
[ $? -ne 1 ] && return
@ -23,6 +23,7 @@ start_mesh () {
config_get log_level "$meshif" log_level
config_get aggregated_ogms "$meshif" aggregated_ogms
config_get bonding "$meshif" bonding
config_get fragmentation "$meshif" fragmentation
config_get vis_mode "$meshif" vis_mode
if [ "$interfaces" = "" ]; then
@ -51,6 +52,10 @@ start_mesh () {
if [ $bonding ]; then
echo $bonding > /sys/class/net/$meshif/mesh/bonding
fi
if [ $fragmentation ]; then
echo $fragmentation > /sys/class/net/$meshif/mesh/fragmentation
fi
if [ $vis_mode ]; then
echo $vis_mode > /sys/class/net/$meshif/mesh/vis_mode