Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110772 Details for
Bug 167801
app-emulation/virtualbox-bin-1.3.6 version bump and bug fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
wrapper.sh
wrapper.sh (text/plain), 1.23 KB, created by
Johannes Ballé
on 2007-02-20 22:08:43 UTC
(
hide
)
Description:
wrapper.sh
Filename:
MIME Type:
Creator:
Johannes Ballé
Created:
2007-02-20 22:08:43 UTC
Size:
1.23 KB
patch
obsolete
>#!/bin/sh > >INSTALL_DIR=/opt/VirtualBox >USER=$( whoami ) > >SERVER_PID=$( ps -U $USER | grep VBoxSVC | awk '{ print $1 }' ) > >if [ "$1" = shutdown ]; then > if [ "$SERVER_PID" != "" ]; then > kill -TERM $SERVER_PID > sleep 2 > fi > exit 0 >fi > >[ "$VBOX_USER_HOME" = "" ] && VBOX_USER_HOME="$HOME/.VirtualBox" > >mkdir -p "$VBOX_USER_HOME" >LOG="$VBOX_USER_HOME/VBoxSVC.log" > >if [ ! -w /dev/vboxdrv ]; then > if [ "`id | grep vboxusers`" = "" ]; then > echo 'You are not a member of the "vboxusers" group. Please add yourself to this' > echo 'group before starting VirtualBox.' > else > echo '/dev/vboxdrv not writable for some reason. If you recently added the current' > echo 'user to the vboxusers group then you have to logout and re-login to take the' > echo 'change effect.' > fi > exit 1 >fi > >export LD_LIBRARY_PATH="$INSTALL_DIR" > >if [ "$SERVER_PID" = "" ]; then > rm -rf /tmp/.vbox-$USER-ipc > [ -f "$LOG.1" ] && mv "$LOG.1" "$LOG.2" > [ -f "$LOG.0" ] && mv "$LOG.0" "$LOG.1" > [ -f "$LOG" ] && mv "$LOG" "$LOG.0" > /opt/VirtualBox/VBoxSVC --daemonize >"$LOG" 2>&1 >fi > >APP=$( which $0 ) >APP=${APP##/*/} >case "$APP" in > VirtualBox|VBoxManage|VBoxSDL) > exec "$INSTALL_DIR/$APP" "$@" > ;; > *) > echo "Unknown application - $APP" > exit 1 > ;; >esac
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 167801
:
110771
| 110772