======Persistent modules loading in CentOS 7====== * Create a file in /etc/sysconfig/modules and call it with the extension .modules * Make it executable Example 1: #!/bin/sh if [ ! -c /dev/ipmi0 ] ; then exec /sbin/modprobe ipmi_si >/dev/null 2>&1 fi Example 2: #!/bin/sh if [ ! -c /dev/sg0 ] ; then exec /sbin/modprobe sg >/dev/null 2>&1 fi {{tag>centos}}