1097fadc92
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. |
||
---|---|---|
.. | ||
cbi | ||
reboot.htm |