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