diff options
Diffstat (limited to 'host/initramfs/etc/probe')
-rwxr-xr-x | host/initramfs/etc/probe | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/initramfs/etc/probe b/host/initramfs/etc/probe index 064b792..4cbd00d 100755 --- a/host/initramfs/etc/probe +++ b/host/initramfs/etc/probe @@ -10,7 +10,10 @@ if -n { backtick -E type { lsblk -lnpo PARTTYPE $mdev } test $type = 56a3bbc3-aefa-43d9-a64d-7b3fd59bbc4e } - if { modprobe loop } + if { + forx -pE module { ext4 loop } + modprobe $module + } backtick -E uuid { lsblk -lnpo PARTUUID $mdev } if { mkdir -p /mnt/${uuid} } if { mount $mdev /mnt/${uuid} } |