Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57186 Details for
Bug 70161
Ebuild to be used with the source and or binaries of Xen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d/xend
xend-init (text/plain), 1.00 KB, created by
Christoph Gysin
on 2005-04-25 08:20:15 UTC
(
hide
)
Description:
init.d/xend
Filename:
MIME Type:
Creator:
Christoph Gysin
Created:
2005-04-25 08:20:15 UTC
Size:
1.00 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >opts="start stop status restart" > >depend() { > before xendomain >} > >await_daemons_up() { > for ((i=0; i<5; i++)); do > sleep 1 > xend status && return 0 > done > return 1 >} > >stop_all_xendomains(){ > einfo "Shutting down all Xen domains" > xm list | cut -d' ' -f1 | grep -Ev "^(Name|Domain-0)$" | > while read dom; do > # Stop all running domains. > ebegin " Stopping domain $dom" > xm shutdown --halt --wait $dom >/dev/null > eend $? > done >} > >start() { > ebegin "Starting Xen control daemon" > xend start > xend status || await_daemons_up > eend $? > > if [ "$XENSV" = YES ] && xend status; then > ebegin "Starting Xensv" > xensv start > eend $? > fi >} > >stop() { > if [ "$(xm list | wc -l)" -gt 2 ]; then > stop_all_xendomains > fi > > if [ "$XENSV" = YES ]; then > ebegin "Stopping Xensv" > xensv stop > eend $? > fi > > ebegin "Stopping Xen control daemon" > xend stop > eend $? >} > >status() { > xend status >}
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 70161
:
43893
|
43894
|
43934
|
44961
|
44962
|
44963
|
44965
|
50718
|
51453
|
52423
|
52424
|
53755
|
53756
|
53757
|
53758
|
53759
|
56536
|
57185
|
57186
|
57187
|
57188
|
57189
|
57231
|
57232
|
57233
|
57234
|
57444
|
59355
|
59688
|
59694
|
59695
|
59703
|
59710
|
59947
|
60478
|
60552
|
60561
|
60562
|
60746
|
61091
|
61951
|
62232
|
62233
|
66585