Changeset 69007 in vbox
- Timestamp:
- Oct 6, 2017 3:31:05 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118276
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-service.sh
r58326 r69007 14 14 # 15 15 16 # X-Conflicts-With is our own invention, which we use when converting to 17 # a systemd unit. 18 16 19 # chkconfig: 345 35 65 17 20 # description: VirtualBox Additions service … … 23 26 # Default-Start: 2 3 4 5 24 27 # Default-Stop: 0 1 6 28 # X-Conflicts-With: systemd-timesyncd.service 25 29 # Description: VirtualBox Additions Service 26 30 ### END INIT INFO -
trunk/src/VBox/Installer/linux/routines.sh
r68319 r69007 123 123 test -n "${unit_path}" || \ 124 124 { echo "$self: systemd unit path not found" >&2 && return 1; } 125 conflicts=`sed -n 's/# *X-Conflicts-With: *\(.*\)/\1/p' "${script}" | sed 's/\$[a-z]*//'` 125 126 description=`sed -n 's/# *Short-Description: *\(.*\)/\1/p' "${script}"` 126 127 required=`sed -n 's/# *Required-Start: *\(.*\)/\1/p' "${script}" | sed 's/\$[a-z]*//'` … … 138 139 Before=${targets}shutdown.target ${before} 139 140 After=${after} 140 Conflicts=shutdown.target 141 Conflicts=shutdown.target ${conflicts} 141 142 142 143 [Service]
Note:
See TracChangeset
for help on using the changeset viewer.