diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2017-06-25 17:31:51 +0200 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2017-06-25 17:31:51 +0200 |
commit | 23b9132c92becaeb5a40c1862f98b211f22abddf (patch) | |
tree | 37e52c24ee5aded0bb8b9dbaf4afa719831121c4 /app-emulation/vmware-workstation/files/vmware-server-9.0.rc | |
parent | Align ebuild structure between player and workstation, version 11 (diff) | |
download | vmware-23b9132c92becaeb5a40c1862f98b211f22abddf.tar.gz vmware-23b9132c92becaeb5a40c1862f98b211f22abddf.tar.bz2 vmware-23b9132c92becaeb5a40c1862f98b211f22abddf.zip |
Cleaning the overlay removing old files.
Let's clean the overlay keeping only last version of each major release,
this simplifies the management of the files. At a certain point it might
be even possible to import older versions that are now package-masked in
the main Gentoo repository.
Diffstat (limited to 'app-emulation/vmware-workstation/files/vmware-server-9.0.rc')
-rw-r--r-- | app-emulation/vmware-workstation/files/vmware-server-9.0.rc | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc b/app-emulation/vmware-workstation/files/vmware-server-9.0.rc deleted file mode 100644 index 3a943f4..0000000 --- a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need localmount vmware - use net -} - -checkconfig() { - # Check if certificates exist. If not, we need to generate them, ala sshd. - if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then - mkdir -p @@ETCDIR@@/ssl - openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config - chmod -R 600 @@ETCDIR@@/ssl - fi -} - -start() { - checkconfig - - ebegin Starting VMware Authentication Daemon - start-stop-daemon --start \ - --exec @@PREFIX@@/sbin/vmware-authdlauncher - eend $? - ebegin Starting VMware Workstation Server - start-stop-daemon --start \ - --pidfile /var/run/vmware/vmware-hostd.PID \ - --exec @@BINDIR@@/vmware-hostd \ - -- -a -d @@ETCDIR@@/hostd/config.xml - - eend $? -} - -stop() { - ebegin "Shutdown VMs in the AutoStart Sequence" - local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)" - - if [ "x" != "x${HOHO_ADMIN}" ]; then - @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop - fi - eend $? - - ebegin Stopping VMware Workstation Server - start-stop-daemon --stop \ - --pidfile /var/run/vmware/vmware-hostd.PID \ - --exec @@BINDIR@@/vmware-hostd - eend $? - ebegin Stopping VMware Authentication Daemon - #start-stop-daemon --stop \ - # --exec @@PREFIX@@/sbin/vmware-authdlauncher - killall @@PREFIX@@/sbin/vmware-authdlauncher - eend $? -} |