summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx-drum <x-drum@localhost>2007-02-27 20:52:35 +0000
committerx-drum <x-drum@localhost>2007-02-27 20:52:35 +0000
commit080d8bf13a693f120322305bee61d7a490f637a1 (patch)
tree5de0723473fac84ce8bae31c241ecd67c0bd4d50 /app-emulation/virtualbox-bin/files
parentapp-emulation/virtualbox: fixed typos in the initscript (diff)
downloadjokey-080d8bf13a693f120322305bee61d7a490f637a1.tar.gz
jokey-080d8bf13a693f120322305bee61d7a490f637a1.tar.bz2
jokey-080d8bf13a693f120322305bee61d7a490f637a1.zip
app-emulation/virtualbox-bin: fixed typos in the initscript
svn path=/trunk/; revision=169
Diffstat (limited to 'app-emulation/virtualbox-bin/files')
-rwxr-xr-xapp-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6.initd b/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6.initd
index 2ac043c..e365d8f 100755
--- a/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6.initd
+++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6.initd
@@ -42,7 +42,7 @@ checkconfig() {
start() {
checkconfig || return 1
export USER="${VBOX_INSTANCE}"
- export HOME="/opt/VirtualBox"
+ export HOME="/home/${VBOX_INSTANCE}"
export LD_LIBRARY_PATH="/opt/VirtualBox"
ebegin "Starting VirtualBox XPCOM Server (${VBOX_INSTANCE})"
@@ -55,7 +55,7 @@ start() {
start-stop-daemon --start --make-pidfile \
--exec /opt/VirtualBox/VBoxSVC --pidfile /var/run/virtualbox-${VBOX_INSTANCE}.pid \
--name VBoxSVC \
- --chuid "${USER}" \
+ --chuid "${VBOX_INSTANCE}" \
--background
eend $? "Failed to start VirtualBox XPCOM Server (${VBOX_INSTANCE})."
}