summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init7
1 files changed, 6 insertions, 1 deletions
diff --git a/init b/init
index b1a78f3..3b58e88 100644
--- a/init
+++ b/init
@@ -11,7 +11,12 @@ mkdir -p /dev/pts
# /dev/pts for dropbear
mount -t devpts devpts /dev/pts
-/etc/modules.sh || exit
+while read -r line; do
+ case "$line" in
+ '#'*) ;;
+ *) modprobe $line || exit
+ esac
+done < /etc/modules
mount -t efivarfs efivarfs /efivars
load-random-seed /efivars/LoaderRandomSeed-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f