mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-agent: map_genconfig: don't modify mapcontroller enabled unconditionally
This commit is contained in:
parent
bd92591b7b
commit
b3f019ed98
1 changed files with 12 additions and 12 deletions
|
|
@ -193,7 +193,6 @@ map_genconf () {
|
|||
uci -q set mapagent.@controller_select[0].local=1
|
||||
fi
|
||||
uci -q commit mapagent
|
||||
fi
|
||||
|
||||
if [ "$multiap_mode" == "agent" -o "$multiap_mode" == "none" ]; then
|
||||
uci set mapcontroller.controller.enabled="0"
|
||||
|
|
@ -208,4 +207,5 @@ map_genconf () {
|
|||
}
|
||||
fi
|
||||
uci -q commit mapcontroller
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue