Provide a way to get out of the first-boot screen, even if it isn't ready yet.

This commit is contained in:
Petter Reinholdtsen 2013-09-13 00:00:17 +02:00
parent ec9a457e3e
commit 023325fdde

View File

@ -109,6 +109,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 done. 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: