[LEDE-DEV] [PATCH] base-files: uppercase default hostname: LEDE

Yousong Zhou yszhou4tech at gmail.com
Tue Jan 10 19:21:16 PST 2017

The name will appear in shell prompt and LuCI page title.  Uppercase
letters seem to be more vigorous

Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
 package/base-files/files/bin/config_generate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index f9b4e5c..6230b08 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -226,7 +226,7 @@ generate_static_system() {
 	uci -q batch <<-EOF
 		delete system. at system[0]
 		add system system
-		set system. at system[-1].hostname='lede'
+		set system. at system[-1].hostname='LEDE'
 		set system. at system[-1].timezone='UTC'
 		set system. at system[-1].ttylogin='0'
 		set system. at system[-1].log_size='64'

More information about the Lede-dev mailing list