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

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

source preinit.arch, do not exec, hint by tg

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

  • Property mode set to 100755
File size: 238 bytes
Line 
1#!/bin/sh
2export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3mount none /proc -t proc
4[ -f /etc/preinit.arch ] && . /etc/preinit.arch
5failsafe
6insmod mini_fo 2>&-
7mount_root ${FAILSAFE:+failsafe}
8chmod u+s /bin/busybox 2>/dev/null
9exec /sbin/init
Note: See TracBrowser for help on using the repository browser.