mirror of
https://github.com/openwrt/routing.git
synced 2025-12-22 01:44:32 +04:00
batmand: match loop format
This commit is contained in:
@@ -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' '
|
||||||
|
|||||||
Reference in New Issue
Block a user