From 8ed83153349f72ff56f4504add5a67ca16778dde Mon Sep 17 00:00:00 2001 From: mbm Date: Mon, 14 May 2007 05:37:24 +0000 Subject: [PATCH] /proc needs to be mounted before preinit.arch for failsafe git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/preinit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 34befe5ac..d1a6ffd54 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 -- 2.20.1