set $HOME to /tmp on bootup
[openwrt.git] / 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
This page took 0.024051 seconds and 4 git commands to generate.