map-agent: map_genconfig: don't modify mapcontroller enabled unconditionally

This commit is contained in:
Jakob Olsson 2024-05-28 17:19:15 +02:00
parent bd92591b7b
commit b3f019ed98

View file

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