From 9bfc9092b8418fb5c82c874fa7116837b062ca09 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 15 Jan 2020 22:53:24 +0100 Subject: [PATCH] Document new mdules-load and modprobe plugins Signed-off-by: Joachim Nilsson --- docs/config.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/config.md b/docs/config.md index 7a563fa9..274b0a25 100644 --- a/docs/config.md +++ b/docs/config.md @@ -93,7 +93,16 @@ Syntax case the contents of that file is used. * `module [ARGS]` - Load a kernel module, with optional arguments + Load a kernel module, with optional arguments. Similar to `insmod` + command line tool. + + Note, there is both a `modules-load.so` and a `modprobe.so` plugin + that can handle module loading better. The former supports loading + from `/etc/modules-load.d/`, and the latter uses kernel modinfo to + automatically load (or coldplug) every required module. For hotplug + we recommend the BusyBox mdev tool, add to `/etc/mdev.conf`: + + $MODALIAS=.* root:root 0660 @modprobe -b "$MODALIAS" * `network ` Script or program to bring up networking, with optional arguments