Changeset 58585 in vbox
- Timestamp:
- Nov 5, 2015 3:39:41 PM (9 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 1 deleted
- 2 edited
-
Makefile.kmk (modified) (1 diff)
-
install_service (deleted)
-
scripts/VBoxHeadlessXOrg.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r58441 r58585 21 21 # Include sub-makefiles. 22 22 23 # We do not install VBoxHeadlessXOrg.sh any more, so neither of these are 24 # needed. 25 # 26 # include $(PATH_SUB_CURRENT)/install_service/Makefile.kmk 23 # We do not install VBoxHeadlessXOrg.sh any more, so this is not needed. 24 # 27 25 # ifdef VBOX_WITH_TESTCASES 28 26 # include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk -
trunk/src/VBox/Installer/linux/scripts/VBoxHeadlessXOrg.sh
r56299 r58585 81 81 file. The default location is: 82 82 "${CONFIGURATION_FILE}" 83 84 --install Install the service to run at system start-up.85 86 --uninstall Revert the installation done by the "--install" option.87 83 88 84 --help|--usage Print this text. … … 274 270 275 271 # Parse our arguments. 276 do_install=""277 272 while [ "$#" -gt 0 ]; do 278 273 case $1 in … … 291 286 exit 0 292 287 ;; 293 --install)294 do_install="install"295 ;;296 --uninstall)297 do_install="uninstall"298 ;;299 288 *) 300 289 banner … … 306 295 307 296 [ -r "${CONFIGURATION_FILE}" ] && . "${CONFIGURATION_FILE}" 308 309 if [ -n "${do_install}" ]; then310 SCRIPT_FOLDER=$(cd "${SCRIPT_FOLDER}" && pwd)"/"311 CONFIGURATION_FILE_ESCAPED=$(echo "${CONFIGURATION_FILE}" | sed 's/\([ \%]\)/\\\1/g')312 if [ "x${do_install}" = "xinstall" ]; then313 ${SCRIPT_FOLDER}install_service --enable -- --command "${SCRIPT_FOLDER}"$(basename "${SCRIPT_NAME}") --arguments "--conf-file ${CONFIGURATION_FILE_ESCAPED}" --service-name "${SERVICE_NAME}" --description "${SERVICE_DESCRIPTION}"314 else315 ${SCRIPT_FOLDER}install_service --remove -- --service-name "${SERVICE_NAME}"316 fi317 exit 0318 fi319 297 320 298 # Change to the root directory so we don't hold any other open.
Note:
See TracChangeset
for help on using the changeset viewer.

