gluon-config-mode-core: add missing uci save

A missing uci save for gluon-setup-mode caused the initial setup-process
to be stuck in a config-mode loop.
This commit is contained in:
David Bauer 2021-05-18 19:16:15 +02:00
parent 42335a07c9
commit 436b29d767
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ function f:write()
local unistd = require 'posix.unistd'
uci:set("gluon-setup-mode", uci:get_first("gluon-setup-mode", "setup_mode"), "configured", true)
uci:save("gluon-setup-mode")
os.execute('gluon-reconfigure')