projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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