Skip to content
Snippets Groups Projects
Commit ed7d6849 authored by David Bauer's avatar David Bauer Committed by Andreas Ziegler
Browse files

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.
parent b0bfe252
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ local site_i18n = i18n 'gluon-site' ...@@ -3,6 +3,7 @@ local site_i18n = i18n 'gluon-site'
local uci = require("simple-uci").cursor() local uci = require("simple-uci").cursor()
local fs = require "nixio.fs" local fs = require "nixio.fs"
local platform = require 'gluon.platform'
local site = require 'gluon.site' local site = require 'gluon.site'
local sysconfig = require 'gluon.sysconfig' local sysconfig = require 'gluon.sysconfig'
local util = require "gluon.util" local util = require "gluon.util"
...@@ -42,6 +43,7 @@ renderer.render_string(msg, { ...@@ -42,6 +43,7 @@ renderer.render_string(msg, {
pubkey = pubkey, pubkey = pubkey,
hostname = hostname, hostname = hostname,
site = site, site = site,
platform = platform,
sysconfig = sysconfig, sysconfig = sysconfig,
contact = contact, contact = contact,
}) })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment