/proc needs to be mounted before preinit.arch for failsafe

SVN-Revision: 7220
lede-17.01
Mike Baker 2007-05-14 05:37:24 +00:00
parent 0b9c3f09c6
commit d502764953
1 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@ failsafe() {
ash --login
}
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
mount none /proc -t proc
mount none /sys -t sysfs
mount -t proc none /proc
mount -t sysfs none /sys
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
set_state preinit