projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: suppress uci not found output in login.sh
[openwrt/staging/dedeckeh.git]
/
package
/
base-files
/
files
/
usr
/
libexec
/
login.sh
diff --git
a/package/base-files/files/usr/libexec/login.sh
b/package/base-files/files/usr/libexec/login.sh
index 02ac9c828bc82e91af9b116efab5555df0a7706d..3c8bb509c02860d94c7a5c22c54ccb66334fa42b 100755
(executable)
--- a/
package/base-files/files/usr/libexec/login.sh
+++ b/
package/base-files/files/usr/libexec/login.sh
@@
-1,5
+1,5
@@
#!/bin/sh
-[ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
+[ "$(uci
-q
get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
exec /bin/login