summaryrefslogtreecommitdiffstats
path: root/core/modules/nvidia-kernel
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-16 11:38:29 +0200
committerSimon Rettberg2021-07-16 11:38:29 +0200
commit6b135f416cd5bed4e46c94871c84038623994612 (patch)
treebbe8634699ba202af64e193ef7ba8819f4b7dff5 /core/modules/nvidia-kernel
parentuseradd.inc: fix minor issues (diff)
downloadmltk-6b135f416cd5bed4e46c94871c84038623994612.tar.gz
mltk-6b135f416cd5bed4e46c94871c84038623994612.tar.xz
mltk-6b135f416cd5bed4e46c94871c84038623994612.zip
[nvidia-libs/nvidia-kernel] Add module_init hook, rename load hook
Diffstat (limited to 'core/modules/nvidia-kernel')
-rw-r--r--core/modules/nvidia-kernel/module.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/nvidia-kernel/module.build b/core/modules/nvidia-kernel/module.build
index 38c96a75..f66fb74c 100644
--- a/core/modules/nvidia-kernel/module.build
+++ b/core/modules/nvidia-kernel/module.build
@@ -1,6 +1,6 @@
#!/bin/bash
-module_load() {
+pre_exec() {
[ -z "$NVIDIA_VERSIONS" ] && perror "No NVIDIA_VERSIONS set in config"
local version
for version in $NVIDIA_VERSIONS; do