Skip to content
Snippets Groups Projects
Commit 2deb82bc authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-setup-mode: set regdom

OpenWrt doesn't set the regdom unless a WLAN device is started. Explicitly set
the regdom in the setup mode to get the correct list of allowed txpower entries
in the planned LuCI module.
parent cbbe6948
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ init_switch() {
start_service() {
prepare_config
init_switch
iw reg set "$(lua -e 'print(require("gluon.site_config").regdom)')"
procd_open_instance
procd_set_param command /sbin/netifd -c /var/gluon/setup-mode/config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment