- Timestamp:
- Oct 7, 2015 6:35:39 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/routines.sh
r58085 r58109 124 124 { echo "$self: systemd unit path not found" >&2 && return 1; } 125 125 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]*//'` 127 127 runlevels=`sed -n 's/# *Default-Start: *\(.*\)/\1/p' "${script}"` 128 128 before=`for i in ${runlevels}; do printf "runlevel${i}.target "; done`
Note:
See TracChangeset
for help on using the changeset viewer.