init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt.git] / package / base-files / brcm-2.4 / etc / preinit
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3
4 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
5 mount none /proc -t proc
6
7 [ -f /etc/preinit.arch ] && . /etc/preinit.arch
8 [ -z "$FAILSAFE" ] || {
9 echo /bin/true > /proc/sys/kernel/hotplug
10 telnetd -l /bin/login <> /dev/null 2>&1
11 }
12 mount_root ${FAILSAFE:+failsafe}
13 exec /sbin/init
This page took 0.047698 seconds and 5 git commands to generate.