VirtualBox

Changeset 58109 in vbox for trunk


Ignore:
Timestamp:
Oct 7, 2015 6:35:39 PM (9 years ago)
Author:
vboxsync
Message:

Installers/linux: ignore LSB facilities in required-start for systemd.

File:
1 edited

Legend:

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

    r58085 r58109  
    124124        { echo "$self: systemd unit path not found" >&2 && return 1; }
    125125    description=`sed -n 's/# *Short-Description: *\(.*\)/\1/p' "${script}"`
    126     required=`sed -n 's/# *Required-Start: *\(.*\)/\1/p' "${script}"`
     126    required=`sed -n 's/# *Required-Start: *\(.*\)/\1/p' "${script}" | sed 's/\$[a-z]*//'`
    127127    runlevels=`sed -n 's/# *Default-Start: *\(.*\)/\1/p' "${script}"`
    128128    before=`for i in ${runlevels}; do printf "runlevel${i}.target "; done`
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