projects
/
openwrt
/
staging
/
luka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5de926
)
base-files: uppercase default hostname: LEDE
author
Yousong Zhou
<yszhou4tech@gmail.com>
Wed, 11 Jan 2017 03:21:16 +0000
(11:21 +0800)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 26 Jan 2017 17:10:10 +0000
(18:10 +0100)
The name will appear in shell prompt and LuCI page title. Uppercase
letters seem to be more vigorous
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
package/base-files/files/bin/config_generate
patch
|
blob
|
history
diff --git
a/package/base-files/files/bin/config_generate
b/package/base-files/files/bin/config_generate
index f9b4e5ca9ef790c07a3b715f676ec4705f7168f1..6230b0892f04c9853706a06a9547c7e5cc249625 100755
(executable)
--- 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.@system[0]
add system system
- set system.@system[-1].hostname='
lede
'
+ set system.@system[-1].hostname='
LEDE
'
set system.@system[-1].timezone='UTC'
set system.@system[-1].ttylogin='0'
set system.@system[-1].log_size='64'