1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-13 18:53:54 +02:00

batmand: match loop format

This commit is contained in:
Leon M. George 2019-05-25 00:11:17 +02:00
parent c514a2a49c
commit fdc37cac29

View File

@ -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' '