summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-04-26 20:37:00 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-04-26 20:37:00 +0000
commitde0cc7ace482ebf36de6308b08b51ef40b0f93f9 (patch)
tree94de97d013adb9d181c0700f8abd62907d6aa63c /app-emulation/vmware-workstation/files
parentUpdate init script to try to use kernel vmw_vmci module if vmci is unavailable (diff)
downloadgentoo-2-de0cc7ace482ebf36de6308b08b51ef40b0f93f9.tar.gz
gentoo-2-de0cc7ace482ebf36de6308b08b51ef40b0f93f9.tar.bz2
gentoo-2-de0cc7ace482ebf36de6308b08b51ef40b0f93f9.zip
Clean up
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-8.0.rc55
1 files changed, 0 insertions, 55 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-server-8.0.rc b/app-emulation/vmware-workstation/files/vmware-server-8.0.rc
deleted file mode 100644
index b8512fad3b22..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-8.0.rc
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-server-8.0.rc,v 1.1 2011/12/03 20:14:02 vadimk Exp $
-
-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 $?
-}