summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmplayer/data/opt
diff options
context:
space:
mode:
authorMichael Neves2013-05-13 16:37:47 +0200
committerMichael Neves2013-05-13 16:37:47 +0200
commit6fc7b7535e6a25eceed66a8c8e10220b2480a913 (patch)
treec5e421ed4637467641176f2325ac72fe23118aa8 /remote/modules/vmplayer/data/opt
parentvmchooser executes run-virt.sh after choice of vm, needs virtualization.conf ... (diff)
downloadtm-scripts-6fc7b7535e6a25eceed66a8c8e10220b2480a913.tar.gz
tm-scripts-6fc7b7535e6a25eceed66a8c8e10220b2480a913.tar.xz
tm-scripts-6fc7b7535e6a25eceed66a8c8e10220b2480a913.zip
vmplayer initialization scripts
Diffstat (limited to 'remote/modules/vmplayer/data/opt')
-rwxr-xr-xremote/modules/vmplayer/data/opt/openslx/bin/vmplayer21
-rwxr-xr-xremote/modules/vmplayer/data/opt/openslx/bin/vmware11
2 files changed, 32 insertions, 0 deletions
diff --git a/remote/modules/vmplayer/data/opt/openslx/bin/vmplayer b/remote/modules/vmplayer/data/opt/openslx/bin/vmplayer
new file mode 100755
index 00000000..2b6e8f31
--- /dev/null
+++ b/remote/modules/vmplayer/data/opt/openslx/bin/vmplayer
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+for mod in /lib/modules/vmware/*.ko; do
+ insmod "$mod" && continue
+ xmessage "Could not load kernel module $mod. vmplayer might fail."
+done
+
+export LIBCONF_DIR=/usr/lib/vmware/libconf
+
+#/usr/lib/vmware/bin/vmplayer $@
+
+# radically simplified version of the original script vmplayer by VMware Inc.
+PREFIX=/usr/lib/vmware # depends on the vmware location
+exec "$PREFIX"'/lib/wrapper-gtk24.sh' \
+ "$PREFIX"'/lib' \
+ "$PREFIX"'/bin/vmplayer' \
+ "$PREFIX"'/libconf' "$@"
+
+
+
+
diff --git a/remote/modules/vmplayer/data/opt/openslx/bin/vmware b/remote/modules/vmplayer/data/opt/openslx/bin/vmware
new file mode 100755
index 00000000..1fe9b11d
--- /dev/null
+++ b/remote/modules/vmplayer/data/opt/openslx/bin/vmware
@@ -0,0 +1,11 @@
+#!/bin/sh
+# radically simplified version of the original script vmplayer by VMware Inc.
+PREFIX=/usr/lib/vmware # depends on the vmware location
+exec "$PREFIX"'/lib/wrapper-gtk24.sh' \
+ "$PREFIX"'/lib' \
+ "$PREFIX"'/bin/vmware' \
+ "$PREFIX"'/libconf' "$@"
+
+
+
+