summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Teran <evan.teran@gmail.com>2014-10-11 17:52:35 -0400
committerEvan Teran <evan.teran@gmail.com>2014-10-11 17:52:35 -0400
commitc913e12bbfc10de4c840bdf3ae2792c4ccbf3032 (patch)
treebe25dda5e9aa0432ceec00e07d031fad06c69bd2 /app-emulation/vmware-workstation
parentcleaning up whitespace of the ebuilds (diff)
downloadvmware-c913e12bbfc10de4c840bdf3ae2792c4ccbf3032.tar.gz
vmware-c913e12bbfc10de4c840bdf3ae2792c4ccbf3032.tar.bz2
vmware-c913e12bbfc10de4c840bdf3ae2792c4ccbf3032.zip
adding missing file
Diffstat (limited to 'app-emulation/vmware-workstation')
-rw-r--r--app-emulation/vmware-workstation/files/vmware-10.0.rc37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-10.0.rc b/app-emulation/vmware-workstation/files/vmware-10.0.rc
new file mode 100644
index 0000000..82e45f1
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/vmware-10.0.rc
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-10.0.rc,v 1.2 2014/04/26 20:36:17 dilfridge Exp $
+
+depend() {
+ need localmount
+ use net
+}
+
+start() {
+ ebegin Starting VMware USB Arbitrator
+ #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
+ @@BINDIR@@/vmware-usbarbitrator
+ eend $?
+ ebegin Starting VMware services
+ modprobe -v vmci || modprobe -v vmw_vmci
+ eend $?
+ modprobe -av vmmon vmci vsock vmblock vmnet
+ eend $?
+ @@BINDIR@@/vmware-networks --start
+ eend $?
+}
+
+stop() {
+ ebegin Stopping VMware USB Arbitrator
+ #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
+ killall --wait @@BINDIR@@/vmware-usbarbitrator
+ eend $?
+ @@BINDIR@@/vmware-networks --stop
+ eend $?
+ ebegin Stopping VMware services
+ modprobe -rv vsock vmmon vmblock vmnet
+ eend $?
+ modprobe -rv vmci || modprobe -rv vmw_vmci
+ eend $?
+}