Fix broken auto-reboot on initial setup (#256)

This commit is contained in:
Tim Wilkinson 2022-03-03 15:01:57 -08:00 committed by GitHub
parent 7d3f97519d
commit 10a7be36fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ if parms.button_save then
parms.node = node parms.node = node
parms.tactical = tactical parms.tactical = tactical
if nixio.fs.stat("/etc/config/unconfigured") then if nixio.fs.stat("/etc/config/unconfigured") then
os.remove("/etc/config/unconfigured") io.open("/tmp/unconfigured", "w"):close()
end end
local function s2h(str) local function s2h(str)
local h = "" local h = ""