batman-adv: handle multiple configured interfaces
authormarek <marek@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Feb 2010 12:07:20 +0000 (12:07 +0000)
committermarek <marek@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Feb 2010 12:07:20 +0000 (12:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19498 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/batman-advanced/files/etc/init.d/batman-adv-kernelland

index caded3f..9bc2300 100644 (file)
@@ -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)