diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-26 21:28:38 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-27 06:46:21 +0200 |
commit | 3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031 (patch) | |
tree | a0d5c539f2e8679234550df0e48c27082e83476d /config/chroot_local-hooks/virtualbox | |
parent | eed584b30c1d4b96e0be8dcf6781acb0aa30c37a (diff) | |
download | kanotix-3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031.zip kanotix-3b0a401d4eaa4c961c6a07c3a98c3d40b0a3e031.tar.gz |
added some optional proprietary packages/ repositories and hooks
Diffstat (limited to 'config/chroot_local-hooks/virtualbox')
-rwxr-xr-x | config/chroot_local-hooks/virtualbox | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/virtualbox b/config/chroot_local-hooks/virtualbox new file mode 100755 index 0000000..d468526 --- /dev/null +++ b/config/chroot_local-hooks/virtualbox @@ -0,0 +1,4 @@ +#!/bin/bash +[ -x /etc/init.d/vboxdrv ] || exit 0 +export KERN_DIR="$(ls -d /usr/src/linux-headers-* | head -n1)" +/etc/init.d/vboxdrv setup |