| 47 | | elif [ ! -w /dev/vboxdrv ]; then |
|---|
| 48 | | if [ "`id | grep vboxusers`" = "" ]; then |
|---|
| 49 | | cat << EOF |
|---|
| 50 | | WARNING: You are not a member of the "vboxusers" group. Please add yourself |
|---|
| 51 | | to this group before starting VirtualBox. |
|---|
| 52 | | |
|---|
| 53 | | You will not be able to start VMs until this problem is fixed. |
|---|
| 54 | | EOF |
|---|
| 55 | | else |
|---|
| 56 | | cat << EOF |
|---|
| 57 | | WARNING: /dev/vboxdrv not writable for some reason. If you recently added the |
|---|
| 58 | | current user to the vboxusers group then you have to logout and |
|---|
| 59 | | re-login to take the change effect. |
|---|
| 60 | | |
|---|
| 61 | | You will not be able to start VMs until this problem is fixed. |
|---|
| 62 | | EOF |
|---|
| 63 | | fi |
|---|