mirror of https://github.com/aredn/aredn.git
Fix broken auto-reboot on initial setup (#256)
This commit is contained in:
parent
7d3f97519d
commit
10a7be36fe
|
@ -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 = ""
|
||||||
|
|
Loading…
Reference in New Issue