summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/xx-03-dkms
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/xx-03-dkms')
-rwxr-xr-xconfig/chroot_local-hooks/xx-03-dkms3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/xx-03-dkms b/config/chroot_local-hooks/xx-03-dkms
new file mode 100755
index 0000000..8a5711c
--- /dev/null
+++ b/config/chroot_local-hooks/xx-03-dkms
@@ -0,0 +1,3 @@
+#!/bin/bash
+[ -x /usr/lib/dkms/dkms_autoinstaller ] || exit 0
+for x in /boot/vmlinuz-*;do /usr/lib/dkms/dkms_autoinstaller start ${x#/boot/vmlinuz-}; done