fiss

Friedel's Initialization and Service Supervision
Log | Files | Refs | LICENSE

commit 942e2ffd85f204bd36b6a597ae00c604bf997764
parent 69e33fefeba1d7ca69194c70631b64588548a7a0
Author: Friedel Schon <[email protected]>
Date:   Mon, 24 Apr 2023 11:47:49 +0200

simplifying modules-load util

Diffstat:
Msrc/script/modules-load.sh | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/script/modules-load.sh b/src/script/modules-load.sh @@ -18,11 +18,5 @@ find_modules() { tr '\012' '\0' | xargs -0 -r grep -h -v -e '^[#;]' -e '^$' } -# Load modules using modprobe -load_modules() { - # Call modprobe on the list of modules - tr '\012' '\0' | xargs -0 -r modprobe -ab "$@" -} - # Find and load modules -find_modules | load_modules -\ No newline at end of file +find_modules | tr '\012' '\0' | xargs -0 -r modprobe -ab "$@" +\ No newline at end of file