Changeset 37255 in vbox for trunk/src/VBox/Additions/solaris/Installer
- Timestamp:
- May 30, 2011 12:35:45 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71978
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/VBox.sh
r33656 r37255 3 3 # VirtualBox startup script for Solaris Guests Additions 4 4 # 5 # Copyright (C) 2008-201 0Oracle Corporation5 # Copyright (C) 2008-2011 Oracle Corporation 6 6 # 7 7 # This file is part of VirtualBox Open Source Edition (OSE), as … … 23 23 # 24 24 25 CPUTYPE=`isainfo -k` 26 ISADIR="" 27 if test "$CPUTYPE" = "amd64"; then 28 ISADIR="amd64" 25 CURRENT_ISA=`isainfo -k` 26 if test "$CURRENT_ISA" = "amd64"; then 27 INSTALL_DIR="/opt/VirtualBoxAdditions/amd64" 28 else 29 INSTALL_DIR="/opt/VirtualBoxAdditions" 29 30 fi 30 31 31 INSTALL_DIR="/opt/VirtualBoxAdditions" 32 APP=`which $0` 33 APP=`basename $APP` 32 APP=`basename $0` 34 33 case "$APP" in 35 VBoxClient) 36 exec "$INSTALL_DIR/$ISADIR/VBoxClient" "$@" 37 ;; 38 VBoxService) 39 exec "$INSTALL_DIR/$ISADIR/VBoxService" "$@" 40 ;; 41 VBoxControl) 42 exec "$INSTALL_DIR/$ISADIR/VBoxControl" "$@" 43 ;; 44 *) 45 echo "Unknown application - $APP" 46 ;; 34 VBoxClient) 35 exec "$INSTALL_DIR/VBoxClient" "$@" 36 ;; 37 VBoxService) 38 exec "$INSTALL_DIR/VBoxService" "$@" 39 ;; 40 VBoxControl) 41 exec "$INSTALL_DIR/VBoxControl" "$@" 42 ;; 43 *) 44 echo "Unknown application - $APP" 45 exit 1 46 ;; 47 47 esac 48 48 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.