From: Mike Baker Date: Mon, 14 May 2007 05:37:24 +0000 (+0000) Subject: /proc needs to be mounted before preinit.arch for failsafe X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d5027649533fd543f144752b03ef6f3b000ba45f;p=librecmc%2Flibrecmc.git /proc needs to be mounted before preinit.arch for failsafe SVN-Revision: 7220 --- diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 34befe5ac7..d1a6ffd549 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -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