VirtualBox

Changeset 21821 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 27, 2009 5:48:49 PM (15 years ago)
Author:
vboxsync
Message:

Additions/solaris: update boot-archive on postinstall.

File:
1 edited

Legend:

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

    r21454 r21821  
    313313/usr/sbin/devfsadm -i vboxguest
    314314
     315# Update boot archive
     316BOOTADMBIN=/sbin/bootadm
     317if test -x "$BOOTADMBIN"; then
     318    if test -h "/dev/vboxguest"; then
     319        echo "Updating boot archive..."
     320        $BOOTADMBIN update-archive > /dev/null
     321    else
     322        echo "## Guest kernel module doesn't seem to be up. Skipped explicit boot-archive update."
     323    fi
     324else
     325    echo "## $BOOTADMBIN not found/executable. Skipped explicit boot-archive update."
     326fi
     327
    315328echo "Done."
    316329if test $retval -eq 0; then
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