VirtualBox

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

Last change on this file since 72028 was 69500, checked in by vboxsync, 7 years ago

*: scm --update-copyright-year

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1#!/bin/sh
2# $Id: VBox.sh 69500 2017-10-28 15:14:05Z vboxsync $
3## @file
4# VirtualBox startup script for Solaris Guests Additions
5#
6
7#
8# Copyright (C) 2008-2017 Oracle Corporation
9#
10# This file is part of VirtualBox Open Source Edition (OSE), as
11# available from http://www.virtualbox.org. This file is free software;
12# you can redistribute it and/or modify it under the terms of the GNU
13# General Public License (GPL) as published by the Free Software
14# Foundation, in version 2 as it comes in the "COPYING" file of the
15# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17#
18# The contents of this file may alternatively be used under the terms
19# of the Common Development and Distribution License Version 1.0
20# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
21# VirtualBox OSE distribution, in which case the provisions of the
22# CDDL are applicable instead of those of the GPL.
23#
24# You may elect to license modified versions of this file under the
25# terms and conditions of either the GPL or the CDDL or both.
26#
27
28CURRENT_ISA=`isainfo -k`
29if test "$CURRENT_ISA" = "amd64"; then
30 INSTALL_DIR="/opt/VirtualBoxAdditions/amd64"
31else
32 INSTALL_DIR="/opt/VirtualBoxAdditions"
33fi
34
35APP=`basename $0`
36case "$APP" in
37 VBoxClient)
38 exec "$INSTALL_DIR/VBoxClient" "$@"
39 ;;
40 VBoxService)
41 exec "$INSTALL_DIR/VBoxService" "$@"
42 ;;
43 VBoxControl)
44 exec "$INSTALL_DIR/VBoxControl" "$@"
45 ;;
46 *)
47 echo "Unknown application - $APP"
48 exit 1
49 ;;
50esac
51exit 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