VirtualBox

Changeset 63858 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Sep 15, 2016 4:51:03 PM (8 years ago)
Author:
vboxsync
Message:

bugref:3809: Linux installer maintenance: when we start system V init scripts from within installers, always call them directly rather than through the init system. This lets us pass a quiet parameter so that they do not output init-time information at install time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/routines.sh

    r63163 r63858  
    221221    if systemd_service_installed "${name}"; then
    222222        systemctl -q ${action} "${name}"
    223     elif test -x "`which service 2>/dev/null`"; then
    224         service "${name}" ${action}
    225     elif test -x "`which invoke-rc.d 2>/dev/null`"; then
    226         invoke-rc.d "${name}" ${action}
    227223    elif test -x "/etc/rc.d/init.d/${name}"; then
    228         "/etc/rc.d/init.d/${name}" "${action}"
     224        "/etc/rc.d/init.d/${name}" "${action}" quiet
    229225    elif test -x "/etc/init.d/${name}"; then
    230         "/etc/init.d/${name}" "${action}"
     226        "/etc/init.d/${name}" "${action}" quiet
    231227    fi
    232228}
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