From: Marek Lindner Date: Tue, 17 Apr 2012 12:09:15 +0000 (+0000) Subject: batman-adv: make bat_load_module() compatible with pre-"lib-crc16" times X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b94a75102f1baeb4b1286774721673b34bda4814;p=feed%2Frouting.git batman-adv: make bat_load_module() compatible with pre-"lib-crc16" times Signed-off-by: Marek Lindner git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/batman-adv@31334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/files/lib/batman-adv/config.sh b/files/lib/batman-adv/config.sh index 24037b0..b0cb4b4 100644 --- a/files/lib/batman-adv/config.sh +++ b/files/lib/batman-adv/config.sh @@ -3,9 +3,9 @@ bat_load_module() { [ -d "/sys/module/batman_adv/" ] && return - + . /etc/functions.sh - load_modules /etc/modules.d/*-lib-crc16 /etc/modules.d/*-batman-adv + load_modules /etc/modules.d/*-crc16 /etc/modules.d/*-batman-adv* } bat_config() @@ -36,7 +36,6 @@ bat_config() [ -n "$gw_sel_class" ] && echo $gw_sel_class > /sys/class/net/$mesh/mesh/gw_sel_class [ -n "$vis_mode" ] && echo $vis_mode > /sys/class/net/$mesh/mesh/vis_mode [ -n "$ap_isolation" ] && echo $ap_isolation > /sys/class/net/$mesh/mesh/ap_isolation - } bat_add_interface()