diff options
| author | PS <p@0x53.net> | 2026-02-01 12:06:46 +0100 |
|---|---|---|
| committer | PS <p@0x53.net> | 2026-02-01 12:06:46 +0100 |
| commit | eaf0ecff18ee063286ad423469241ca0eb2e4c6c (patch) | |
| tree | 692ca6a0fea576b21d988cb2459f492c6284648b /src/lib/source/system/other/modules | |
| download | goetia-linux-eaf0ecff18ee063286ad423469241ca0eb2e4c6c.tar.gz goetia-linux-eaf0ecff18ee063286ad423469241ca0eb2e4c6c.tar.bz2 goetia-linux-eaf0ecff18ee063286ad423469241ca0eb2e4c6c.zip | |
version 0.2.0.0
Diffstat (limited to 'src/lib/source/system/other/modules')
| -rw-r--r-- | src/lib/source/system/other/modules/type | 1 | ||||
| -rw-r--r-- | src/lib/source/system/other/modules/up | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/source/system/other/modules/type b/src/lib/source/system/other/modules/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/src/lib/source/system/other/modules/type @@ -0,0 +1 @@ +oneshot diff --git a/src/lib/source/system/other/modules/up b/src/lib/source/system/other/modules/up new file mode 100644 index 0000000..3983ae1 --- /dev/null +++ b/src/lib/source/system/other/modules/up @@ -0,0 +1,21 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +define MODULE_CONF /etc/modules-load.d + +elglob -0sd'' FILES ${MODULE_CONF}/* +if -x0 { eltest ${FILES} } +define -sd'' SPLITFILES ${FILES} +pipeline { cat ${SPLITFILES} } +pipeline { + sed + -e "/^#/d" + -e "s/^[\ \t]*//g" + -e "s/[\ \t]*$//g" + -e "/^$/d" +} +forstdin -pE MODULE + modprobe -ab ${MODULE} |
