Browse Source

add 90kernel-modules-loaded to install currently loaded kernel modules

master
Harald Hoyer 16 years ago
parent
commit
06bb5abe9b
  1. 11
      modules.d/90kernel-modules-loaded/install

11
modules.d/90kernel-modules-loaded/install

@ -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…
Cancel
Save