freifunk-gluon/packages — pull request #13 by tcatm (2014-01-28 02:22:51+00:00)
Title: 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.