mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
Merge pull request #24 from petterreinholdtsen/first-boot-no-dead-end
Provide a way to get out of the first-boot screen, even if it isn't read...
This commit is contained in:
commit
5002715cb6
@ -101,6 +101,15 @@ TODO: explain all this cert stuff to the user.</p>
|
||||
<p>TODO: add instrux for installing certificate.</p>
|
||||
<p>After you have installed
|
||||
"""
|
||||
# TODO complete first_boot handling
|
||||
# Make sure the user is not stuck on a dead end for now.
|
||||
with sqlite_db(cfg.store_file, table="firstboot", autocommit=True) as db:
|
||||
db['state']=5
|
||||
main = main + """
|
||||
<p>Welcome screen not completely implemented yet. Press <a href="/router">continue</a> to
|
||||
see the rest of the web interface.</p>"
|
||||
"""
|
||||
|
||||
if False:
|
||||
## Update state to 2 and head there
|
||||
with sqlite_db(cfg.store_file, table="firstboot", autocommit=True) as db:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user