diff options
author | 2008-08-04 21:44:46 +0000 | |
---|---|---|
committer | 2008-08-04 21:44:46 +0000 | |
commit | ef48b11fea1dfac4076429c3380b517bf975ee52 (patch) | |
tree | 0058d516ad6714eeb0bdb37f544a88bb679b7344 /app-emulation/virtualbox-bin/files | |
parent | app-emulation/virtualbox: Version bump; fix missing makefiles, add VBoxVRDP w... (diff) | |
download | jokey-ef48b11fea1dfac4076429c3380b517bf975ee52.tar.gz jokey-ef48b11fea1dfac4076429c3380b517bf975ee52.tar.bz2 jokey-ef48b11fea1dfac4076429c3380b517bf975ee52.zip |
app-emulation/virtualbox-bin: Version bump wrt bug #233683; add VBoxVRDP wrapper for VBoxHeadless
svn path=/trunk/; revision=442
Diffstat (limited to 'app-emulation/virtualbox-bin/files')
-rw-r--r-- | app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper index d88bec3..3dbfce6 100644 --- a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper +++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper @@ -1,16 +1,21 @@ #!/bin/sh # -# innotek VirtualBox +# Sun xVM VirtualBox +# +# Copyright (C) 2006-2007 Sun Microsystems, Inc. +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa +# Clara, CA 95054 USA or visit http://www.sun.com if you need +# additional information or have any questions. # -# Copyright (C) 2006-2007 innotek GmbH -# -# This file is part of VirtualBox Open Source Edition (OSE), as -# available from http://www.virtualbox.org. This file is free software; -# you can redistribute it and/or modify it under the terms of the GNU -# General Public License as published by the Free Software Foundation, -# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE -# distribution. VirtualBox OSE is distributed in the hope that it will -# be useful, but WITHOUT ANY WARRANTY of any kind. PATH="/usr/bin:/bin:/usr/sbin:/sbin" CONFIG="/etc/vbox/vbox.cfg" @@ -19,7 +24,7 @@ if [ ! -r "$CONFIG" ]; then echo "Could not find VirtualBox installation. Please reinstall." exit 1 fi - + . "$CONFIG" # Note: This script must not fail if the module was not successfully installed @@ -99,24 +104,28 @@ if [ "$SHUTDOWN" = "true" ]; then fi APP=`which $0` +APP=`basename $APP` APP=${APP##/*/} case "$APP" in VirtualBox) exec "$INSTALL_DIR/VirtualBox" "$@" - ;; + ;; VBoxManage) exec "$INSTALL_DIR/VBoxManage" "$@" - ;; + ;; VBoxSDL) exec "$INSTALL_DIR/VBoxSDL" "$@" - ;; + ;; + VBoxVRDP) + exec "$INSTALL_DIR/VBoxHeadless" "$@" + ;; VBoxHeadless) exec "$INSTALL_DIR/VBoxHeadless" "$@" - ;; + ;; vboxwebsrv) exec "$INSTALL_DIR/vboxwebsrv" "$@" - ;; + ;; *) echo "Unknown application - $APP" - ;; + ;; esac |