set $HOME to /tmp on bootup

SVN-Revision: 7068
This commit is contained in:
Imre Kaloz 2007-04-30 09:59:40 +00:00
parent 269c00418c
commit 40e3aaf430

View file

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
export PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export HOME=/tmp
[ -e /etc/preinit.arch ] && . /etc/preinit.arch [ -e /etc/preinit.arch ] && . /etc/preinit.arch
mount_root ${FAILSAFE:+failsafe} mount_root ${FAILSAFE:+failsafe}
exec /sbin/init exec /sbin/init