diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-19 07:56:16 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-19 07:56:16 -0400 |
commit | 776eeb35f4164f8d49ec52796d3ab91334f34c9f (patch) | |
tree | b5d5cfa4ea1e13a652a66cf592329fb9f3cae379 /init | |
parent | 0d8f101483cbc72261514806da2df7c0bfad88f7 (diff) | |
download | minitramfs-776eeb35f4164f8d49ec52796d3ab91334f34c9f.tar.xz minitramfs-776eeb35f4164f8d49ec52796d3ab91334f34c9f.zip |
forgot to mount efivarfs
Diffstat (limited to 'init')
-rw-r--r-- | init | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |