summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc')
-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 b23508f..34befe5 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}