add 90kernel-modules-loaded to install currently loaded kernel modules
parent
743c38d878
commit
06bb5abe9b
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# install all currently loaded modules in initrd
|
||||
|
||||
/sbin/lsmod | while read mod rest; do
|
||||
instmods "$mod"
|
||||
done
|
||||
|
||||
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
||||
dracut_install /etc/modprobe.d/*
|
||||
|
Loading…
Reference in New Issue