gluon-config-mode: add platform on config-mode reboot (#1397)
This commit adds the ability to show information about the platform on config-mode reboot.
This commit is contained in:
parent
b0bfe25274
commit
ed7d68490d
@ -3,6 +3,7 @@ local site_i18n = i18n 'gluon-site'
|
||||
local uci = require("simple-uci").cursor()
|
||||
local fs = require "nixio.fs"
|
||||
|
||||
local platform = require 'gluon.platform'
|
||||
local site = require 'gluon.site'
|
||||
local sysconfig = require 'gluon.sysconfig'
|
||||
local util = require "gluon.util"
|
||||
@ -42,6 +43,7 @@ renderer.render_string(msg, {
|
||||
pubkey = pubkey,
|
||||
hostname = hostname,
|
||||
site = site,
|
||||
platform = platform,
|
||||
sysconfig = sysconfig,
|
||||
contact = contact,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user