set $HOME to /tmp on bootup
authorImre Kaloz <kaloz@openwrt.org>
Mon, 30 Apr 2007 09:59:40 +0000 (09:59 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Mon, 30 Apr 2007 09:59:40 +0000 (09:59 +0000)
SVN-Revision: 7068

package/base-files/files/etc/preinit

index c60a0f850f6e7f8e57b0dad94fc95732f1d6bbc0..588db8ede9f7660680dcef4414a63d39fcb6e006 100755 (executable)
@@ -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