1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 16:22:26 +02:00
openwrt-xburst/package/base-files/default/etc/preinit

12 lines
285 B
Plaintext
Raw Normal View History

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