set $HOME to /tmp on bootup

SVN-Revision: 7068
master
Imre Kaloz 18 years ago
parent 269c00418c
commit 40e3aaf430
  1. 1
      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

Loading…
Cancel
Save