batmand: match loop format 472/head
authorLeon M. George <leon@georgemail.eu>
Fri, 24 May 2019 22:11:17 +0000 (00:11 +0200)
committerLeon M. George <leon@georgemail.eu>
Sat, 25 May 2019 06:42:53 +0000 (08:42 +0200)
batmand/files/etc/init.d/batmand

index 14e8f1a7d547b7943b6410a592209a08e416955a..add4ec8249fe73459c1ae9a7358aba5b4b07081a 100644 (file)
@@ -18,10 +18,9 @@ start () {
        disable_aggregation=$(uci get batmand.general.disable_aggregation)
        batman_args=""
 
-       for hna in $hnas
-               do
-                       batman_args=${batman_args}'-a '$hna' '
-               done
+       for hna in $hnas; do
+               batman_args=${batman_args}'-a '$hna' '
+       done
 
        if [ $gateway_class ]; then
                batman_args=${batman_args}'-g '$gateway_class' '