From 2e818d04432804742ebaf3476b41c321b5f09e49 Mon Sep 17 00:00:00 2001 From: Marek Lindner Date: Tue, 2 Feb 2010 12:07:20 +0000 Subject: [PATCH] batman-adv: handle multiple configured interfaces SVN-Revision: 19498 --- net/batman-advanced/files/etc/init.d/batman-adv-kernelland | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/batman-advanced/files/etc/init.d/batman-adv-kernelland b/net/batman-advanced/files/etc/init.d/batman-adv-kernelland index caded3f43..9bc230076 100644 --- a/net/batman-advanced/files/etc/init.d/batman-adv-kernelland +++ b/net/batman-advanced/files/etc/init.d/batman-adv-kernelland @@ -8,7 +8,10 @@ start () { exit fi - echo $interfaces > /proc/net/batman-adv/interfaces + for interface in $interfaces + do + echo $interface > /proc/net/batman-adv/interfaces + done originator_interval=$(uci get batman-adv-kernelland.general.originator_interval) log_level=$(uci get batman-adv-kernelland.general.log_level) -- 2.30.2