1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-15 22:12:49 +03:00
openwrt-xburst/package/base-files/files/etc/preinit
kaloz d1376128a1 set $HOME to /tmp on bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30 09:59:40 +00:00

8 lines
199 B
Bash
Executable File

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