VirtualBox

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


Ignore:
Timestamp:
Oct 14, 2015 7:51:34 AM (9 years ago)
Author:
vboxsync
Message:

Installers/linux: detect Debian systems with systemd installed but not in use - small adjustment.

File:
1 edited

Legend:

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

    r58216 r58224  
    167167    ln -s "${script}" "/sbin/rc${name}"
    168168    if test -x "`which systemctl 2>/dev/null`"; then
    169         if ! test -L /sbin/init || ls -l /sbin/init | grep -q systemd; then
     169        if ! test -L /sbin/init || ls -l /sbin/init | grep -q ">.*systemd"; then
    170170            { systemd_wrap_init_script "$script" "$name"; return; }
    171171        fi
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