summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/virtualbox
blob: d4685260b7771a09f0761be687b9f672a035b9fe (plain)
1
2
3
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