Last change
on this file since 34296 was 32388, checked in by vboxsync, 14 years ago |
more branding fixes
|
-
Property svn:eol-style
set to
LF
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # VirtualBox startup script, Solaris hosts.
|
---|
4 | #
|
---|
5 | # Copyright (C) 2007-2010 Oracle Corporation
|
---|
6 | #
|
---|
7 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | # available from http://www.virtualbox.org. This file is free software;
|
---|
9 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | # General Public License (GPL) as published by the Free Software
|
---|
11 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | #
|
---|
15 |
|
---|
16 | CURRENT_ISA=`isainfo -k`
|
---|
17 | if test "$CURRENT_ISA" = "amd64"; then
|
---|
18 | INSTALL_DIR="/opt/VirtualBox/amd64"
|
---|
19 | else
|
---|
20 | INSTALL_DIR="/opt/VirtualBox/i386"
|
---|
21 | fi
|
---|
22 | APP=`which $0`
|
---|
23 | APP=`basename $APP`
|
---|
24 | case "$APP" in
|
---|
25 | VirtualBox)
|
---|
26 | exec "$INSTALL_DIR/VirtualBox" "$@"
|
---|
27 | ;;
|
---|
28 | VBoxManage)
|
---|
29 | exec "$INSTALL_DIR/VBoxManage" "$@"
|
---|
30 | ;;
|
---|
31 | VBoxSDL)
|
---|
32 | exec "$INSTALL_DIR/VBoxSDL" "$@"
|
---|
33 | ;;
|
---|
34 | VBoxVRDP)
|
---|
35 | exec "$INSTALL_DIR/VBoxHeadless" "$@"
|
---|
36 | ;;
|
---|
37 | VBoxHeadless)
|
---|
38 | exec "$INSTALL_DIR/VBoxHeadless" "$@"
|
---|
39 | ;;
|
---|
40 | VBoxQtconfig)
|
---|
41 | exec "$INSTALL_DIR/VBoxQtconfig" "$@"
|
---|
42 | ;;
|
---|
43 | VBoxBFE)
|
---|
44 | exec "$INSTALL_DIR/VBoxBFE" "$@"
|
---|
45 | ;;
|
---|
46 | *)
|
---|
47 | echo "Unknown application - $APP"
|
---|
48 | ;;
|
---|
49 | esac
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.