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 c60a0f8..588db8e 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