CentOS 7 - как добавить модуль ядра в автозагрузку ОС

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена


CentOS 7 - как добавить модуль ядра в автозагрузку ОС

Для того чтобы добавить модуль ядра Linux в автозагрузку CentOS 7 - достаточно создать конфиг файл *.conf в директории /etc/modules-load.d/ и добавить туда списком нужные модули:

# modprobe af_key
# modprobe drbd
# echo "af_key" > /etc/modules-load.d/modules.conf
# echo "drbd" >> /etc/modules-load.d/modules.conf