move busybox init scripts from base-files into the busybox package and make them...
[openwrt.git] / package / base-files / ar7 / 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.041892 seconds and 5 git commands to generate.