add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481v19.07.3_mercusys_ac12_duma
parent
df228a5d99
commit
c96e173c28
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
mount_root
|
||||
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
|
||||
mount_root ${FAILSAFE:+failsafe}
|
||||
exec /sbin/init
|
||||
|
@ -0,0 +1,2 @@
|
||||
mount -t proc none /proc
|
||||
grep 'failsafe=' /proc/cmdline && export FAILSAFE=true
|
Loading…
Reference in New Issue