1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash build() { add_full_dir /etc/modprobe.d '*.conf' add_full_dir /usr/lib/modprobe.d '*.conf' } help() { cat <<HELPEOF This hook installs modprobe configuration files from /etc/modprobe.d and /usr/lib/modprobe.d. HELPEOF } # vim: set ft=sh ts=4 sw=4 et: