diff options
| author | Simon Rettberg | 2021-07-16 11:38:29 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2021-07-16 11:38:29 +0200 |
| commit | 6b135f416cd5bed4e46c94871c84038623994612 (patch) | |
| tree | bbe8634699ba202af64e193ef7ba8819f4b7dff5 /core/modules/nvidia-kernel | |
| parent | useradd.inc: fix minor issues (diff) | |
| download | mltk-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.build | 2 |
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 |
