1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 10:49:13 +02:00

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
# 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