summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/preinit')
-rwxr-xr-xpackage/base-files/files/etc/preinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index b23508f55..34befe5ac 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -10,6 +10,9 @@ failsafe() {
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
+mount -t proc none /proc
+mount -t sysfs none /sys
+
set_state preinit
mount_root ${FAILSAFE:+failsafe}