From: Imre Kaloz Date: Mon, 30 Apr 2007 09:59:40 +0000 (+0000) Subject: set $HOME to /tmp on bootup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40e3aaf4301d3a138bb3a2eba5f2bf1c56f57cdb;p=openwrt%2Fstaging%2Frobimarko.git set $HOME to /tmp on bootup SVN-Revision: 7068 --- diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index c60a0f850f..588db8ede9 100755 --- 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