commit: c913e12bbfc10de4c840bdf3ae2792c4ccbf3032 Author: Evan Teran <evan.teran <AT> gmail <DOT> com> AuthorDate: Sat Oct 11 21:52:35 2014 +0000 Commit: Evan Teran <evan.teran <AT> gmail <DOT> com> CommitDate: Sat Oct 11 21:52:35 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/vmware.git;a=commit;h=c913e12b
adding missing file --- .../vmware-workstation/files/vmware-10.0.rc | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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 $? +}