diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-11 07:55:00 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-11 08:09:28 -0500 |
commit | 3182b56e35e1a07c920ebded54fc55686ced99bf (patch) | |
tree | 33ed00cb3df1c00680dd1821034b47a5583823ef /init | |
parent | 9ac1d14079b3bd400a78d650d43fb8bad1d1e7a3 (diff) | |
download | minitramfs-3182b56e35e1a07c920ebded54fc55686ced99bf.tar.xz minitramfs-3182b56e35e1a07c920ebded54fc55686ced99bf.zip |
revamp module support, other refactoring
Diffstat (limited to 'init')
-rw-r--r-- | init | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |