summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/vmware-workstation/files/vmware-8.0.rc')
-rw-r--r--app-emulation/vmware-workstation/files/vmware-8.0.rc33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-8.0.rc b/app-emulation/vmware-workstation/files/vmware-8.0.rc
new file mode 100644
index 000000000000..3152256e6f99
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/vmware-8.0.rc
@@ -0,0 +1,33 @@
+#!/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-8.0.rc,v 1.1 2011/12/03 20:14:02 vadimk 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 -a 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 -r vsock vmci vmmon vmblock vmnet
+ eend $?
+}