Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53758 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 file for domU unprivilaged domains
xendomains-init (text/plain), 1.38 KB, created by
Edward Middleton
on 2005-03-17 23:31:05 UTC
(
hide
)
Description:
init.d file for domU unprivilaged domains
Filename:
MIME Type:
Creator:
Edward Middleton
Created:
2005-03-17 23:31:05 UTC
Size:
1.38 KB
patch
obsolete
>#!/sbin/runscript ># ># /etc/init.d/xendomains ># Start / stop domains automatically when domain 0 boots / shuts down. ># ># chkconfig: 345 99 00 ># description: Start / stop Xen domains. ># ># This script offers fairly basic functionality. It should work on Redhat ># but also on LSB-compliant SuSE releases and on Debian with the LSB package ># installed. (LSB is the Linux Standard Base) ># ># Based on the example in the "Designing High Quality Integrated Linux ># Applications HOWTO" by Avi Alkalay ># <http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/> ># > >depend() { > need xend >} > >start() { > einfo "Starting auto Xen domains" > # We expect config scripts for auto starting domains to be in > # AUTODIR - they could just be symlinks to files elsewhere > if [ -d $AUTODIR ] && [ $(ls $AUTODIR | wc -l) -gt 0 ]; then > touch $LOCKFILE > > # Create all domains with config files in AUTODIR. > for dom in $AUTODIR/*; do > name=`sed -ne 's/^[ \t]*name[ \t]*=[ \t]*"\([^"]*\)"/\1/p' $dom` > ebegin " Starting domain $name " > xm create --quiet --defconfig $dom > eend $? > done > > fi > >} > >stop() { > einfo "Shutting down all Xen domains" > # Create all domains with config files in AUTODIR. > for dom in $AUTODIR/*; do > name=`sed -ne 's/^[ \t]*name[ \t]*=[ \t]*"\([^"]*\)"/\1/p' $dom` > ebegin " Stopping domain $name " > xm shutdown --halt --wait $name > eend $? > done >} > >status() { > xm list >}
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