VirtualBox

source: vbox/trunk/src/VBox/Installer/solaris/VBox.sh@ 104932

Last change on this file since 104932 was 104700, checked in by vboxsync, 6 months ago

Installer: Rebranding changes. Left out signing-related stuff, needs to be done separately. bugref:10690

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
File size: 2.2 KB
Line 
1#!/bin/sh
2## @file
3# Oracle VirtualBox startup script, Solaris hosts.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28CURRENT_ISA=`isainfo -k`
29if test "$CURRENT_ISA" = "amd64"; then
30 INSTALL_DIR="/opt/VirtualBox/amd64"
31else
32 INSTALL_DIR="/opt/VirtualBox/i386"
33fi
34
35APP=`basename $0`
36case "$APP" in
37 VirtualBox|virtualbox)
38 exec "$INSTALL_DIR/VirtualBox" "$@"
39 ;;
40 VirtualBoxVM|virtualboxvm)
41 exec "$INSTALL_DIR/VirtualBoxVM" "$@"
42 ;;
43 VBoxManage|vboxmanage)
44 exec "$INSTALL_DIR/VBoxManage" "$@"
45 ;;
46 VBoxSDL|vboxsdl)
47 exec "$INSTALL_DIR/VBoxSDL" "$@"
48 ;;
49 VBoxVRDP|VBoxHeadless|vboxheadless)
50 exec "$INSTALL_DIR/VBoxHeadless" "$@"
51 ;;
52 VBoxBugReport|vboxbugreport)
53 exec "$INSTALL_DIR/VBoxBugReport" "$@"
54 ;;
55 VBoxBalloonCtrl|vboxballoonctrl)
56 exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@"
57 ;;
58 VBoxAutostart|vboxautostart)
59 exec "$INSTALL_DIR/VBoxAutostart" "$@"
60 ;;
61 VBoxDTrace|vboxdtrace)
62 exec "$INSTALL_DIR/VBoxDTrace" "$@"
63 ;;
64 VBoxAudioTest|vboxaudiotest|vkat)
65 exec "$INSTALL_DIR/VBoxAudioTest" "$@"
66 ;;
67 vboxwebsrv)
68 exec "$INSTALL_DIR/vboxwebsrv" "$@"
69 ;;
70 VBoxQtconfig)
71 exec "$INSTALL_DIR/VBoxQtconfig" "$@"
72 ;;
73 vbox-img)
74 exec "$INSTALL_DIR/vbox-img" "$0"
75 ;;
76 *)
77 echo "Unknown application - $APP"
78 exit 1
79 ;;
80esac
81exit 0
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette