Skip to content
Snippets Groups Projects
Select Git revision
0 results

site-ffs

  • Clone with SSH
  • Clone with HTTPS
  • Forked from firmware / FFS Gluon site
    Source project has a limited visibility.
    user avatar
    Nils Schneider authored
    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.
    1097fadc
    History
    Name Last commit Last update