summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/07-dkms
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/07-dkms')
-rwxr-xr-xconfig/chroot_local-hooks/07-dkms4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/07-dkms b/config/chroot_local-hooks/07-dkms
index a0ed316..8f57d16 100755
--- a/config/chroot_local-hooks/07-dkms
+++ b/config/chroot_local-hooks/07-dkms
@@ -1,2 +1,2 @@
-#!/bin/sh
-for x in $(ls /boot/vmlinuz-*|sed s@/boot/vmlinuz-@@);do /usr/lib/dkms/dkms_autoinstaller start $x; done
+#!/bin/bash
+for x in /boot/vmlinuz-*;do KVERS=$x /usr/lib/dkms/dkms_autoinstaller start ${x#/boot/vmlinuz-}; done