diff options
Diffstat (limited to 'app-emulation/vmware-workstation/files/vmware-7.0.rc')
-rw-r--r-- | app-emulation/vmware-workstation/files/vmware-7.0.rc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-7.0.rc b/app-emulation/vmware-workstation/files/vmware-7.0.rc new file mode 100644 index 0000000..a027af4 --- /dev/null +++ b/app-emulation/vmware-workstation/files/vmware-7.0.rc @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +depend() { + need localmount + use net +} + +start() { + ebegin Starting VMware services + modprobe -a vmmon vmci vsock vmblock vmnet || eend $? + @@BINDIR@@/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware services + @@BINDIR@@/vmware-networks --stop || eend $? + modprobe -r vsock vmci vmmon vmblock vmnet + eend $? +} |