milis/talimatname/genel/v/virtualbox-modules/virtualbox-modules.kur-kos

11 lines
222 B
Plaintext

_kernver="`ls /lib/modules`"
depmod -a ${_kernver}
modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)
echo -n 'Loading modules: '
for _m in "${modules[@]}"; do
modprobe "$_m" && echo -n "$_m "
done
echo