X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1ce8862ab409526a36936eb93db4e23ad92e3b79..d1376128a14166a3d0636604b16627af6806fade:/package/base-files/files/etc/preinit 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