diff options
author | Vadim Kuznetsov <vadimk@gentoo.org> | 2010-03-01 13:37:58 +0000 |
---|---|---|
committer | Vadim Kuznetsov <vadimk@gentoo.org> | 2010-03-01 13:37:58 +0000 |
commit | 317a877c53c029cd44c582a37a7d2e74a84e9712 (patch) | |
tree | f512a6f9ea6ee2e1bcb18f9d704d3aadeb6fe481 /app-emulation/vmware-player/files/vmware-3.0.rc | |
parent | vmware worsattion ebuild and pactches subbmitted be Michael Zanetta. Bug 291241. (diff) | |
download | vmware-317a877c53c029cd44c582a37a7d2e74a84e9712.tar.gz vmware-317a877c53c029cd44c582a37a7d2e74a84e9712.tar.bz2 vmware-317a877c53c029cd44c582a37a7d2e74a84e9712.zip |
VMware Player 3.0.1.227600 ebuild submitted by Matt Whitlock . Bug 290831.
svn path=/trunk/; revision=380
Diffstat (limited to 'app-emulation/vmware-player/files/vmware-3.0.rc')
-rw-r--r-- | app-emulation/vmware-player/files/vmware-3.0.rc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/vmware-3.0.rc b/app-emulation/vmware-player/files/vmware-3.0.rc new file mode 100644 index 0000000..2360be8 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-3.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 vmblock vmmon vmnet || eend $? + /opt/vmware/player/bin/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware services + /opt/vmware/player/bin/vmware-networks --stop || eend $? + modprobe -r vmblock vmmon vmnet + eend $? +} |