VirtualBox

Ignore:
Timestamp:
Nov 13, 2009 4:15:32 PM (15 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: fix some information messages and start the kernel modules at once if possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r24544 r24640  
    164164{
    165165    lsmod | grep -q "vboxguest[^_-]"
     166}
     167
     168running_vboxadd()
     169{
     170    lsmod | grep -q "vboxadd[^_-]"
    166171}
    167172
     
    308313    if ! sh /usr/share/$PACKAGE/test_drm/build_in_tmp \
    309314        --no-dkms --no-print-directory >> $LOG 2>&1; then
    310         printf "Your system does not seem to support OpenGL in the kernel (this requires\nLinux 2.6.27 or later).  The OpenGL support will not be built.\n"
     315        printf "Your system does not seem to support OpenGL in the kernel (this requires\nLinux 2.6.27 or later).  The OpenGL support will not be built.\n\n"
    311316        BUILDVBOXVIDEO=""
    312317    fi
     
    376381
    377382    succ_msg
    378     echo
    379     echo "You should reboot your guest to make sure the new modules are actually used"
     383    if running_vboxguest || running_vboxadd; then
     384        printf "You should restart your guest to make sure the new modules are actually used\n\n"
     385    else
     386        start
     387    fi
    380388}
    381389
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