gluon/package/gluon-config-mode/generate/usr/lib/lua/luci/view/gluon-config-mode
Nils Schneider 1097fadc92 gluon-config-mode: correct hostname on reboot.html
Display the correct hostname on the final page of configmode.
Previously, this page used to simply call luci.sys.hostname() which
would return the current hostname. However, when the configmode changes
the hostname luci.sys.hostname() will not reflect this. This patch
fetches the hostname directly from the UCI system config.

This adds a variable called 'hostname' which may be used in site.conf at
config_mode.msg_reboot and .msg_pubkey.
2014-01-28 03:16:56 +01:00
..
cbi gluon-config-mode: use welcome text from site.conf 2014-01-23 01:21:43 +01:00
reboot.htm gluon-config-mode: correct hostname on reboot.html 2014-01-28 03:16:56 +01:00