diff options
Diffstat (limited to 'config/chroot_local-hooks/07-dkms')
-rwxr-xr-x | config/chroot_local-hooks/07-dkms | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/07-dkms b/config/chroot_local-hooks/07-dkms index 8f57d16..4de0351 100755 --- a/config/chroot_local-hooks/07-dkms +++ b/config/chroot_local-hooks/07-dkms @@ -1,2 +1,3 @@ #!/bin/bash +[ -x /usr/lib/dkms/dkms_autoinstaller ] || exit 0 for x in /boot/vmlinuz-*;do KVERS=$x /usr/lib/dkms/dkms_autoinstaller start ${x#/boot/vmlinuz-}; done |