VirtualBox

Changeset 63871 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Sep 16, 2016 5:52:34 PM (8 years ago)
Author:
vboxsync
Message:

bugref:3809: Linux installer maintenance: start VBoxService as soon as the Additions are installed too, if possible. See ticketref:15847.

File:
1 edited

Legend:

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

    r62831 r63871  
    420420fi
    421421
     422"$INSTALLATION_DIR/init/vboxadd" setup 1>&2 2>> "${LOGFILE}"
     423
    422424# Install, set up and start init scripts
    423 for i in "$INSTALLATION_DIR/init/vboxadd" "$INSTALLATION_DIR/init/vboxadd-service" \
    424     "$INSTALLATION_DIR/init/vboxadd-x11"; do
    425   if test -r "$i"; then
     425for i in "$INSTALLATION_DIR/init/vboxadd" "$INSTALLATION_DIR/init/vboxadd-service"; do
    426426    install_init_script "$i" "`basename "$i"`" 2>> "${LOGFILE}"
    427427    addrunlevel "`basename "$i"`" 2>> "${LOGFILE}"
    428     if test -n "$DO_SETUP" && grep -q '^# *setup_script *$' "${i}"; then
    429         if "${i}" setup 1>&2 2>> "${LOGFILE}"; then
    430             start_init_script "`basename "$i"`" 2>> "${LOGFILE}"
    431         else
    432             echo 1>&2 "Failed to set up service `basename "$i"`, please check the log file"
    433             echo 1>&2 "${LOGFILE} for details."
    434         fi
    435     fi
    436   fi
     428    start_init_script "`basename "$i"`" 2>> "${LOGFILE}"
    437429done
    438430
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