VirtualBox

Ignore:
Timestamp:
Apr 7, 2008 2:03:37 PM (17 years ago)
Author:
vboxsync
Message:

Solaris additions: Fixes for working under Indiana guests.

One pending issue is VBoxClient isn't getting auto-restarted like it
does on Nevada.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r7404 r7771  
    5959esac
    6060
     61retval=0
    6162if test -z "$vboxmouse_src"; then
    6263    echo "Unknown version of the X Window System installed."
    6364    echo "Failed to install the VirtualBox X Window System drivers."
     65   
     66    # Exit as partially failed installation
     67    retval=2
    6468else
    6569    vboxmouse_dest="/usr/lib/X11/modules/input/vboxmouse_drv.so"
     
    7781    rm -f $vboxadditions_path/vboxvideo_drv_*
    7882    /usr/sbin/removef -f $PKGINST
     83   
     84    # Some distros like Indiana have no xorg.conf, deal with this
     85    if ! (test -f '/etc/X11/xorg.conf' -o -f '/etc/X11/.xorg.conf'); then
     86        mv -f $vboxadditions_path/solaris_xorg.conf /etc/X11/.xorg.conf
     87    fi
     88
     89    echo "Configuring Xorg..."
     90    $vboxadditions_path/x11config.pl
    7991fi
    80 
    81 echo "Configuring Xorg..."
    82 $vboxadditions_path/x11config.pl
    8392
    8493/usr/sbin/installf -f $PKGINST
     
    91100
    92101echo "Done."
     102if test $retval -eq 0; then
     103    echo "Please restart X Window System for activating the X11 guest additions."
     104fi
     105exit $retval
    93106
Note: See TracChangeset for help on using the changeset viewer.

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