From 5d33bc7ab62b28de4d7bd438c6882e831f2fb6f2 Mon Sep 17 00:00:00 2001 From: Evan Teran Date: Mon, 6 Jul 2015 03:32:25 +0000 Subject: fixing init script name Package-Manager: portage-2.2.20 --- .../vmware-workstation/files/vmware-11.0.rc | 44 ---------------------- .../vmware-workstation/files/vmware-11.1.rc | 44 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 app-emulation/vmware-workstation/files/vmware-11.0.rc create mode 100644 app-emulation/vmware-workstation/files/vmware-11.1.rc (limited to 'app-emulation/vmware-workstation') diff --git a/app-emulation/vmware-workstation/files/vmware-11.0.rc b/app-emulation/vmware-workstation/files/vmware-11.0.rc deleted file mode 100644 index 2a827bc..0000000 --- a/app-emulation/vmware-workstation/files/vmware-11.0.rc +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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 - - # quiet for vmci because it may not be there - modprobe -vq vmci || modprobe -v vmw_vmci - eend $? - - # vmci or vmw_vmci was loaded by the previous modprobe - # no need to do it here - modprobe -av vmmon 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 $? - - # quiet for vmci because it may not be there - modprobe -rvq vmci || modprobe -rv vmw_vmci - eend $? -} diff --git a/app-emulation/vmware-workstation/files/vmware-11.1.rc b/app-emulation/vmware-workstation/files/vmware-11.1.rc new file mode 100644 index 0000000..2a827bc --- /dev/null +++ b/app-emulation/vmware-workstation/files/vmware-11.1.rc @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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 + + # quiet for vmci because it may not be there + modprobe -vq vmci || modprobe -v vmw_vmci + eend $? + + # vmci or vmw_vmci was loaded by the previous modprobe + # no need to do it here + modprobe -av vmmon 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 $? + + # quiet for vmci because it may not be there + modprobe -rvq vmci || modprobe -rv vmw_vmci + eend $? +} -- cgit v1.2.3-18-g5258