VirtualBox

Ignore:
Timestamp:
Apr 14, 2008 1:22:19 PM (17 years ago)
Author:
vboxsync
Message:

Solaris guest installer: VBoxClient now re/starts properly on Indiana.

File:
1 edited

Legend:

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

    r7906 r7950  
    6262retval=0
    6363if test -z "$vboxmouse_src"; then
    64     echo "Unknown version of the X Window System installed."
    65     echo "Failed to install the VirtualBox X Window System drivers."
     64    echo "*** Unknown version of the X Window System installed."
     65    echo "*** Failed to install the VirtualBox X Window System drivers."
    6666   
    6767    # Exit as partially failed installation
     
    9292fi
    9393
     94
     95# Setup our VBoxClient
     96echo "Configuring client..."
     97vboxclient_src=$vboxadditions_path
     98vboxclient_dest="/usr/dt/config/Xsession.d"
     99if test -d "$vboxclient_dest"; then
     100    /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/1099.vboxclient" f
     101    cp "$vboxclient_src/1099.vboxclient" "$vboxclient_dest/1099.vboxclient"
     102elif test -d "/usr/share/gnome/autostart"; then
     103    vboxclient_dest="/usr/share/gnome/autostart"
     104    /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/vboxclient.desktop" f
     105    cp "$vboxclient_src/vboxclient.desktop" "$vboxclient_dest/vboxclient.desktop"
     106else
     107    echo "*** Failed to configure client!! Couldn't find autostart directory."
     108    retval=2
     109fi
     110
     111
    94112# Remove redundant files
    95113/usr/sbin/removef $PKGINST $vboxadditions_path/etc/devlink.tab 1>/dev/null
     
    99117
    100118/usr/sbin/installf -f $PKGINST
     119
    101120
    102121# Setup our VBoxService SMF service
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