Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361800 Details for
Bug 403337
app-emulation/virtualbox: save machine state when shutting down
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated init.d script
virtualbox (text/plain), 472 bytes, created by
Christoph Junghans (RETIRED)
on 2013-10-24 16:38:13 UTC
(
hide
)
Description:
updated init.d script
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2013-10-24 16:38:13 UTC
Size:
472 bytes
patch
obsolete
>#!/sbin/runscript > >stop() { > local user uuid name > for user in $(/usr/sbin/groupmems -g vboxusers -l); do > for uuid in $(su - $user -c '/usr/bin/VBoxManage -q list runningvms' | sed -n 's/^.*{\([^}]*\)}$/\1/p'); do > name=$(su - $user -c "/usr/bin/VBoxManage showvminfo $uuid" | awk '/^Name:/{print $2}') > ebegin "Save state of vm '$name' of user $user" > su - $user -c "/usr/bin/VBoxManage controlvm $uuid savestate" &>/dev/null > eend $? > done > done >}
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 403337
:
361800
|
362412