15 lines
379 B
Bash
Executable File
15 lines
379 B
Bash
Executable File
#!/bin/bash
|
|
# FIXME: hard-coded module list of doom.
|
|
instmods ${modules:-=ata =block =drm dm-crypt aes sha256 cbc sd_mod}
|
|
|
|
# Grab modules for all filesystem types we currently have mounted
|
|
while read d mp t rest; do
|
|
instmods "$t"
|
|
done </proc/mounts
|
|
|
|
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
|
|
|
for i in $(find /etc/modprobe.d/ ); do
|
|
inst $i
|
|
done
|