mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 22:15:55 +02:00
676c017ecf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
285 B
Bash
Executable File
12 lines
285 B
Bash
Executable File
#!/bin/sh
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
mount none /proc -t proc
|
|
|
|
[ -f /etc/preinit.arch ] && . /etc/preinit.arch
|
|
[ -z "$FAILSAFE" ] || {
|
|
echo /bin/true > /proc/sys/kernel/hotplug
|
|
telnetd -l /bin/login <> /dev/null 2>&1
|
|
}
|
|
mount_root ${FAILSAFE:+failsafe}
|
|
exec /sbin/init
|