set $HOME to /tmp on bootup
[openwrt.git] / package / base-files / files / etc / preinit
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
4 export HOME=/tmp
5 [ -e /etc/preinit.arch ] && . /etc/preinit.arch
6 mount_root ${FAILSAFE:+failsafe}
7 exec /sbin/init
This page took 0.044641 seconds and 5 git commands to generate.