|
Lines 1-6
Link Here
|
| 1 |
--- src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig 2015-02-12 11:08:13.000000000 -0500 |
1 |
--- src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig 2015-03-16 18:00:34.000000000 +0100 |
| 2 |
+++ src/VBox/Additions/x11/Installer/98vboxadd-xclient 2015-02-12 14:38:40.689104000 -0500 |
2 |
+++ src/VBox/Additions/x11/Installer/98vboxadd-xclient 2015-04-04 09:22:20.000000000 +0200 |
| 3 |
@@ -28,9 +28,9 @@ |
3 |
@@ -21,16 +21,16 @@ |
|
|
4 |
test -w $i || rm -f $i |
| 5 |
done |
| 6 |
|
| 7 |
-if test -f /proc/modules && ! grep -q vboxguest /proc/modules 2>/dev/null; then |
| 8 |
+if [ "X`/bin/kenv smbios.system.product 2>/dev/null`" != XVirtualBox ] ; then |
| 9 |
# Do not start if the kernel module is not present. |
| 10 |
- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." |
| 11 |
+ : notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." |
| 12 |
elif test -z "${SSH_CONNECTION}"; then |
| 4 |
# This script can also be triggered by a connection over SSH, which is not |
13 |
# This script can also be triggered by a connection over SSH, which is not |
| 5 |
# what we had in mind, so we do not start VBoxClient in that case. We do |
14 |
# what we had in mind, so we do not start VBoxClient in that case. We do |
| 6 |
# not use "exit" here as this script is "source"d, not executed. |
15 |
# not use "exit" here as this script is "source"d, not executed. |