From d1376128a14166a3d0636604b16627af6806fade Mon Sep 17 00:00:00 2001 From: kaloz Date: Mon, 30 Apr 2007 09:59:40 +0000 Subject: set $HOME to /tmp on bootup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7068 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/preinit | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files') diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index c60a0f850..588db8ede 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 -- cgit v1.2.3