virtualbox modulleri core ye

This commit is contained in:
Ertuğrul Erata
2015-06-09 22:57:46 +03:00
parent 96d38ad3a9
commit 19481db083
11 changed files with 820 additions and 0 deletions
@@ -0,0 +1,2 @@
KERNEL=="vboxguest", NAME="vboxguest", MODE="0660", OWNER="vboxadd", RUN+="/lib/udev/vbox-guest.sh"
KERNEL=="vboxuser", NAME="vboxuser", MODE="0666", OWNER="vboxadd"
@@ -0,0 +1,21 @@
#!/bin/sh
. /etc/conf.d/virtualbox-guest
case $ACTION in
add)
if [ "x${LOAD_VBOXSF_MODULE-true}" == "xtrue" ]; then
/sbin/modprobe -s vboxsf
fi
if [ -x /usr/sbin/VBoxService ]; then
/usr/sbin/VBoxService $VBOXSERVICE_OPTS
fi
;;
remove)
;;
*)
exit 1
;;
esac
@@ -0,0 +1,6 @@
# Load VirtualBox kernel module for host file system access.
# Default is true.
#LOAD_VBOXSF_MODULE=false
# VBoxService options can be specified here.
VBOXSERVICE_OPTS=""