projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
failsafe-mode: print short help on commandline
[openwrt/staging/mkresin.git]
/
package
/
base-files
/
files
/
etc
/
profile
diff --git
a/package/base-files/files/etc/profile
b/package/base-files/files/etc/profile
index e9a7119f1afd696d1b94b0d1a8010c1537e00a32..3dd58e14f28f22e3119733e9069861587baaaee1 100644
(file)
--- a/
package/base-files/files/etc/profile
+++ b/
package/base-files/files/etc/profile
@@
-1,5
+1,6
@@
#!/bin/sh
[ -f /etc/banner ] && cat /etc/banner
+[ -e /tmp/.failsafe ] && cat /etc/banner.failsafe
export PATH=/usr/bin:/usr/sbin:/bin:/sbin
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)