diff --git a/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S20network b/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S20network
index 8bc0ba4f51ccd0a9cc7588cf16c16a36c418c449..15f0e2782bfd9556ddef3b09ec62fcab47c464c7 100755
--- a/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S20network
+++ b/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S20network
@@ -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