batmand: match loop format
This commit is contained in:
parent
c514a2a49c
commit
fdc37cac29
1 changed files with 3 additions and 4 deletions
|
@ -18,10 +18,9 @@ start () {
|
||||||
disable_aggregation=$(uci get batmand.general.disable_aggregation)
|
disable_aggregation=$(uci get batmand.general.disable_aggregation)
|
||||||
batman_args=""
|
batman_args=""
|
||||||
|
|
||||||
for hna in $hnas
|
for hna in $hnas; do
|
||||||
do
|
batman_args=${batman_args}'-a '$hna' '
|
||||||
batman_args=${batman_args}'-a '$hna' '
|
done
|
||||||
done
|
|
||||||
|
|
||||||
if [ $gateway_class ]; then
|
if [ $gateway_class ]; then
|
||||||
batman_args=${batman_args}'-g '$gateway_class' '
|
batman_args=${batman_args}'-g '$gateway_class' '
|
||||||
|
|
Loading…
Reference in a new issue