diff options
author | Joerg Schirottke <master@kanotix.com> | 2020-02-03 19:49:42 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2020-03-02 17:56:53 +0100 |
commit | 924e265f2844f13491b324867c55abf4cb071db0 (patch) | |
tree | e9dd9166d3f604c687d0714a24f5ecd285ff57f3 /config/chroot_local-hooks | |
parent | 0aa9a968bcc397be66f4d86f93196621059ae492 (diff) | |
download | kanotix-924e265f2844f13491b324867c55abf4cb071db0.zip kanotix-924e265f2844f13491b324867c55abf4cb071db0.tar.gz |
update virtualbox hook
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-x | config/chroot_local-hooks/virtualbox | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/virtualbox b/config/chroot_local-hooks/virtualbox index 9fda9ab..dba4fd9 100755 --- a/config/chroot_local-hooks/virtualbox +++ b/config/chroot_local-hooks/virtualbox @@ -1,3 +1,5 @@ #!/bin/bash -[ -x /etc/init.d/vboxdrv ] || exit 0 -/etc/init.d/vboxdrv setup +[ -x /usr/lib/virtualbox/vboxdrv.sh ] || exit 0 +for k in /boot/vmlinuz-*; do + /usr/lib/virtualbox/vboxdrv.sh setup ${k#/boot/vmlinuz-} || : +done |