commit profile support for base-files... patches still need to be done
[openwrt.git] / target / linux / ar7-2.4 / base-files / default / etc / preinit
1 #!/bin/sh
2 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3 mount none /proc -t proc
4
5 [ -f /etc/preinit.arch ] && . /etc/preinit.arch
6 [ -z "$FAILSAFE" ] || {
7 echo /bin/true > /proc/sys/kernel/hotplug
8 telnetd -l /bin/login <> /dev/null 2>&1
9 }
10 mount_root ${FAILSAFE:+failsafe}
11 exec /sbin/init
This page took 0.058605 seconds and 5 git commands to generate.