summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmwarebinary/files/installbinary.sh
diff options
context:
space:
mode:
authorVolker Uhrig2008-05-14 18:13:05 +0200
committerVolker Uhrig2008-05-14 18:13:05 +0200
commit89c4b62480c5d350290da84b3969d9b788665e8a (patch)
tree19f0ac56e10ae97afd8ab77ee615b4d74c7b36ea /os-plugins/plugins/vmwarebinary/files/installbinary.sh
parent* added installation of vmplayer 2 (diff)
downloadcore-89c4b62480c5d350290da84b3969d9b788665e8a.tar.gz
core-89c4b62480c5d350290da84b3969d9b788665e8a.tar.xz
core-89c4b62480c5d350290da84b3969d9b788665e8a.zip
* minor changes
* deleteing vmwarebinary plugin. now merged with vmware plugin git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1767 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmwarebinary/files/installbinary.sh')
-rw-r--r--os-plugins/plugins/vmwarebinary/files/installbinary.sh66
1 files changed, 0 insertions, 66 deletions
diff --git a/os-plugins/plugins/vmwarebinary/files/installbinary.sh b/os-plugins/plugins/vmwarebinary/files/installbinary.sh
deleted file mode 100644
index 88be7877..00000000
--- a/os-plugins/plugins/vmwarebinary/files/installbinary.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-echo "This script will download and install vmplayer from http://www.vmware.com/"
-echo "Please go to http://vmware.com/download/player/player_reg.html"
-echo "and ..."
-echo " * complete this registration form"
-echo " * click on \"Download Now\""
-echo " * read and decide if you want to accept the VMware master end user license agreement"
-echo
-echo "If you have done this and accepted the enduser licence type in yes in uppercase."
-echo "This will install vmplayer on your vendor-os. If you don't agree this license"
-echo "vmplayer won't be installed."
-echo
-read
-echo
-
-if [ ${REPLY} == "YES" ]; then
- cd /opt/openslx/plugin-repo/vmwarebinary
-
- echo " * Downloading vmplayer now. This may take a while"
- cd /opt/openslx/plugin-repo/vmwarebinary/
- #todo, during development we have this file and dont need to download it
- wget -c http://download3.vmware.com/software/vmplayer/VMware-player-2.0.2-59824.i386.tar.gz
-
- echo " * Unpacking vmplayer"
- tar xfz VMware-player-2.0.2-59824.i386.tar.gz
-
- echo " * copying files..."
- mkdir root
- mkdir -p root/lib
- mv vmware-player-distrib/lib root/lib/vmware
- mv vmware-player-distrib/bin root/
- mv vmware-player-distrib/sbin root/
- mv vmware-player-distrib/doc root/
- mv vmware-player-distrib/installer/services.sh /etc/init.d/vmware
-
- echo " * creating /etc/vmware/locations and /etc/vmware/not_configured"
- mkdir -p /etc/vmware
- touch /etc/vmware/not_configured
- mv locations /etc/vmware/
-
- echo " * Faking kernelversion"
- mv /bin/uname /bin/uname.orig
- mv /sbin/depmod /sbin/depmod.orig
- mv /sbin/insmod /sbin/insmod.orig
- #for development purpose
- cp uname.sh /bin/uname
- cp depmod.sh /sbin/depmod
- cp insmod.sh /sbin/insmod
- chmod 755 /bin/uname /sbin/depmod /sbin/insmod
-
- echo " * Start vmware configuration"
- /opt/openslx/plugin-repo/vmwarebinary/root/bin/vmware-config.pl \
- --default
-
- echo " * undo fake environment"
- mv /bin/uname.orig /bin/uname
- mv /sbin/depmod.orig /sbin/depmod
- mv /sbin/insmod.orig /sbin/insmod
-
- echo " * finishing installation"
- rm -rf /etc/vmware/not_configured
-
-else
- echo "You didnt't accept the end user license. vmplayer is not installed."
-fi