source: freewrt/package/base-files/default/etc/preinit@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100755
File size: 285 bytes
RevLine 
[475ad56]1#!/bin/sh
2export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3mount 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}
10mount_root ${FAILSAFE:+failsafe}
11exec /sbin/init
Note: See TracBrowser for help on using the repository browser.