VirtualBox

Changeset 29664 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 19, 2010 2:56:26 PM (15 years ago)
Author:
vboxsync
Message:

Additions/Solaris: try xdg autostart folder for VBoxClient if others are not found.

File:
1 edited

Legend:

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

    r28800 r29664  
    281281        clientinstalled=1
    282282    fi
     283
     284    # Try other autostart locations if none of the above ones work
    283285    if test $clientinstalled -eq 0; then
    284         echo "*** Failed to configure client, couldn't find any autostart directory!"
    285         # Exit as partially failed installation
    286         retval=2
     286        vboxclient_dest="/etc/xdg/autostart"
     287        if test -d "$vboxclient_dest"; then
     288            /usr/sbin/installf -c none $PKGINST $vboxclient_dest/1099.vboxclient=$vboxadditions_path/1099.vboxclient s
     289            clientinstalled=1
     290        else
     291            echo "*** Failed to configure client, couldn't find any autostart directory!"
     292            # Exit as partially failed installation
     293            retval=2
     294        fi
    287295    fi
    288296else
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