Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94614 Details for
Bug 144422
baselayout-1.12.4-r6: vmware-server-1.0.0.28343 init.d script does nothing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/vmware
vmware (text/plain), 1.40 KB, created by
crusaderky
on 2006-08-19 09:40:07 UTC
(
hide
)
Description:
/etc/init.d/vmware
Filename:
MIME Type:
Creator:
crusaderky
Created:
2006-08-19 09:40:07 UTC
Size:
1.40 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/files/vmware-server.rc,v 1.1 2006/07/31 20:23:50 ikelos Exp $ > >depend() { > need localmount xinetd > use logger net > after samba >} > >vmware-prettify() { > # Yea, the code is ugly but the output is pretty > state=$1 > waserror=0 > msgtype=0 > while read line > do > [ "$line" == "" ] && continue > if [ "$msgtype" -le "0" ] > then > if [ "$msgtype" == "-1" ] > then > ewarn $line > continue > fi > if [ "${line/*:*/}" == "" ] > then > einfon $line > echo > eend 0 > msgtype=1 > else > ewarn $line > msgtype=-1 > waserror=1 > fi > continue > fi > > # Strip out anything after the <esc> code > message=`echo $line | sed -e "s/^\(.*\).*$/\1/"` > einfon " $message" > echo > > echo $line | grep done > /dev/null > status=$? > eend $status > > if [ "$status" != "0" ] > then > logger -p local0.err -t vmware-${state} "$line" > waserror=$status > fi > done > if [ "$msgtype" == "-1" ] > then > eend 1 "VMware is not properly configured! See above." > fi > return $waserror >} > >start() { > test -x /etc/vmware/init.d/vmware || \ > eend 1 "vmware init script not found. Aborting" || return 1 > > /etc/vmware/init.d/vmware start | vmware-prettify start > return $? >} > >stop() { > /etc/vmware/init.d/vmware stop | vmware-prettify stop > return $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 144422
: 94614