以内核模块 drbd 为例:

1、创建 /etc/modules-load.d/drbd.conf 中,直接写模块名:  drbd

2、创建 /etc/sysconfig/modules/drbd.modules:内容如下

# drbd module exists?
/usr/sbin/modinfo -F filename drbd &>/dev/null
if [ "$?" -eq 0 ];then 
    /usr/sbin/modprobe drbd
fi

相关文章:

  • 2021-06-19
  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
  • 2021-10-25
  • 2021-12-29
  • 2022-02-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2021-10-06
相关资源
相似解决方案