From: marek 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://207.154.207.93/?a=commitdiff_plain;h=a755debaff5e7ce52731a9bbabc48b99ca2b0124;p=packages.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@31334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/batman-adv/files/lib/batman-adv/config.sh b/net/batman-adv/files/lib/batman-adv/config.sh index 24037b08a..b0cb4b4e6 100644 --- a/net/batman-adv/files/lib/batman-adv/config.sh +++ b/net/batman-adv/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()