projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269c004
)
set $HOME to /tmp on bootup
author
Imre Kaloz
<kaloz@openwrt.org>
Mon, 30 Apr 2007 09:59:40 +0000
(09:59 +0000)
committer
Imre Kaloz
<kaloz@openwrt.org>
Mon, 30 Apr 2007 09:59:40 +0000
(09:59 +0000)
SVN-Revision: 7068
package/base-files/files/etc/preinit
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/preinit
b/package/base-files/files/etc/preinit
index c60a0f850f6e7f8e57b0dad94fc95732f1d6bbc0..588db8ede9f7660680dcef4414a63d39fcb6e006 100755
(executable)
--- a/
package/base-files/files/etc/preinit
+++ b/
package/base-files/files/etc/preinit
@@
-1,6
+1,7
@@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
+export HOME=/tmp
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
mount_root ${FAILSAFE:+failsafe}
exec /sbin/init