smeserver-virtualbox/root/usr/lib/virtualbox/fix_vboxdrv_kernel_module.sh

10 lines
307 B
Bash
Raw Normal View History

#!/bin/bash
##script to compile vboxdrv kernel module if needed by virtualbox
##stephane de Labrusse <stephdl@de-labrusse.fr>
rkernel=`uname -r`
vmxnet="/lib/modules/`uname -r`/misc/vboxdrv.ko"
if [ ! -e $vmxnet ]; then
/usr/lib/virtualbox/vboxdrv.sh setup;
fi