summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx-drum <x-drum@localhost>2007-11-01 20:28:05 +0000
committerx-drum <x-drum@localhost>2007-11-01 20:28:05 +0000
commit97446ddc708245c87bbd97dad149766580fb1cb7 (patch)
tree0209b53eedce7f7a59f0f5581d155aa7678c7697 /app-emulation/virtualbox-bin/files
parentfix Exec,TryExec in virtualbox.desktop bug #196832; fix typo in virtualbox-wr... (diff)
downloadjokey-97446ddc708245c87bbd97dad149766580fb1cb7.tar.gz
jokey-97446ddc708245c87bbd97dad149766580fb1cb7.tar.bz2
jokey-97446ddc708245c87bbd97dad149766580fb1cb7.zip
cosmetic changes in virtualbox-bin-wrapper
svn path=/trunk/; revision=295
Diffstat (limited to 'app-emulation/virtualbox-bin/files')
-rw-r--r--app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper25
1 files changed, 14 insertions, 11 deletions
diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper
index 9800caa..147edc4 100644
--- a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper
+++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper
@@ -30,16 +30,16 @@ if [ "$1" = "shutdown" ]; then
elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then
cat << EOF
WARNING: There is no module available for the current kernel (`uname -r`).
- Please recompile the kernel module and install it by
+ Please recompile the kernel module and install it by:
- sudo emerge -1 virtualbox-modules
+ sudo emerge -1 app-emulation/virtualbox-modules
You will not be able to start VMs until this problem is fixed.
EOF
elif ! lsmod|grep -q vboxdrv; then
cat << EOF
WARNING: The vboxdrv kernel module is not loaded.
- Please load the kernel by
+ Please load the kernel module by:
sudo modprobe vboxdrv
@@ -47,27 +47,30 @@ WARNING: The vboxdrv kernel module is not loaded.
EOF
elif [ ! -c /dev/vboxdrv ]; then
cat << EOF
-WARNING: The character device /dev/vboxdrv does not exist. Try
+WARNING: The character device /dev/vboxdrv does not exist.
+ Please try to reload the kernel module by:
- sudo /etc/init.d/virtualbox restart
+ sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv
- and if that is not successful, try to re-install the package.
+ and if that is not successful, try to re-install the package by:
+
+ sudo emerge -1 app-emulation/virtualbox-modules
You will not be able to start VMs until this problem is fixed.
EOF
elif [ ! -w /dev/vboxdrv ]; then
if [ "`id | grep vboxusers`" = "" ]; then
cat << EOF
-WARNING: You are not a member of the "vboxusers" group. Please add yourself
- to this group before starting VirtualBox.
+WARNING: You are not a member of the "vboxusers" group.
+ Please add yourself to this group before starting VirtualBox.
You will not be able to start VMs until this problem is fixed.
EOF
else
cat << EOF
-WARNING: /dev/vboxdrv not writable for some reason. If you recently added the
- current user to the vboxusers group then you have to logout and
- re-login to take the change effect.
+WARNING: /dev/vboxdrv not writable for some reason.
+ If you recently added the current user to the "vboxusers" group
+ then you have to logout and re-login to take the change effect.
You will not be able to start VMs until this problem is fixed.
EOF