summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init5
1 files changed, 4 insertions, 1 deletions
diff --git a/init b/init
index 503d689..db96ac4 100644
--- a/init
+++ b/init
@@ -5,11 +5,14 @@ trap 'exec sh' EXIT
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
mount -t proc proc /proc
-mount -t devtmpfs devtmpfs /dev
+mount -t devtmpfs devtmpfs /dev || exit
# use -p to avoid "directory exists" error
mkdir -p /dev/pts
# /dev/pts for dropbear
mount -t devpts devpts /dev/pts
+# for random seed
+mount -t sysfs sysfs /sys
+mount -t efivarfs efivarfs /sys/firmware/efi/efivars
/etc/modules.sh || exit