- Timestamp:
- Jul 11, 2012 7:45:32 PM (13 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r41477 r42119 53 53 deffiles \ 54 54 routines.sh \ 55 vboxautostart-service.sh \ 55 56 vboxballoonctrl-service.sh \ 56 57 vboxdrv.sh \ … … 323 324 $(VBOX_PATH_LNX_INST_SRC)/deffiles \ 324 325 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)) \ 326 $(VBOX_LNX_INST_OUT_DIR)/vboxautostart-service.sh \ 325 327 $(VBOX_LNX_INST_OUT_DIR)/vboxballoonctrl-service.sh \ 326 328 $(VBOX_LNX_INST_OUT_DIR)/vboxdrv.sh \ … … 335 337 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LNX_INST_SRC)/deffiles $(VBOX_LNX_INST_STAGE_DIR)/ 336 338 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(VBOX_LNX_INST_STAGE_DIR)/LICENSE) 339 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_INST_OUT_DIR)/vboxautostart-service.sh $(VBOX_LNX_INST_STAGE_DIR)/ 337 340 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_INST_OUT_DIR)/vboxballoonctrl-service.sh $(VBOX_LNX_INST_STAGE_DIR)/ 338 341 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_INST_OUT_DIR)/vboxdrv.sh $(VBOX_LNX_INST_STAGE_DIR)/ … … 346 349 347 350 # files that needs editing before they can be included in the generic installer. 351 $(VBOX_LNX_INST_OUT_DIR)/vboxautostart-service.sh: $(VBOX_PATH_LNX_INST_SRC)/vboxautostart-service.sh.in | $$(dir $$@) 352 $(QUIET)$(SED_EXT) \ 353 -e "s|%NOLSB%|yes|g" \ 354 -e "s|%DEBIAN%||g" \ 355 -e "s|%PACKAGE%|virtualbox|g" \ 356 -e "s|%VERSION%|$(VBOX_VERSION_STRING)|g" \ 357 --output $@ \ 358 $< 359 348 360 $(VBOX_LNX_INST_OUT_DIR)/vboxballoonctrl-service.sh: $(VBOX_PATH_LNX_INST_SRC)/vboxballoonctrl-service.sh.in | $$(dir $$@) 349 361 $(QUIET)$(SED_EXT) \ -
trunk/src/VBox/Installer/linux/VBox.sh
r38093 r42119 92 92 exec "$INSTALL_DIR/VBoxHeadless" "$@" 93 93 ;; 94 VBoxAutostart|vboxautostart) 95 exec "$INSTALL_DIR/VBoxAutostart" "$@" 96 ;; 94 97 VBoxBalloonCtrl|vboxballoonctrl) 95 98 exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@" -
trunk/src/VBox/Installer/linux/install.sh
r39334 r42119 110 110 check_binary "/usr/bin/VBoxHeadless" "$install_dir" && 111 111 check_binary "/usr/bin/VBoxBalloonCtrl" "$install_dir" && 112 check_binary "/usr/bin/VBoxAutostart" "$install_dir" && 112 113 check_binary "/usr/bin/vboxwebsrv" "$install_dir" 113 114 } … … 125 126 # Set up logging before anything else 126 127 create_log $LOG 128 129 # Now stop the autostart service otherwise it will keep VBoxSVC running 130 stop_init_script vboxautostart-service 127 131 128 132 # Now stop the ballon control service otherwise it will keep VBoxSVC running … … 373 377 install_init_script vboxdrv.sh vboxdrv 374 378 install_init_script vboxballoonctrl-service.sh vboxballoonctrl-service 379 install_init_script vboxautostart-service.sh vboxautostart-service 375 380 install_init_script vboxweb-service.sh vboxweb-service 376 381 delrunlevel vboxdrv > /dev/null 2>&1 … … 378 383 delrunlevel vboxballoonctrl-service > /dev/null 2>&1 379 384 addrunlevel vboxballoonctrl-service 25 75 # This may produce useful output 385 delrunlevel vboxautostart-service > /dev/null 2>&1 386 addrunlevel vboxautostart-service 25 75 # This may produce useful output 380 387 delrunlevel vboxweb-service > /dev/null 2>&1 381 388 addrunlevel vboxweb-service 25 75 # This may produce useful output … … 391 398 ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxHeadless 392 399 ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxBalloonCtrl 400 ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxAutostart 393 401 ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/vboxwebsrv 394 402 ln -sf $INSTALLATION_DIR/VBox.png /usr/share/pixmaps/VBox.png … … 467 475 fi 468 476 start_init_script vboxballoonctrl-service 477 start_init_script vboxautostart-service 469 478 start_init_script vboxweb-service 470 479 log "" -
trunk/src/VBox/Installer/linux/uninstall.sh
r38340 r42119 50 50 # Stop the ballon control service 51 51 stop_init_script vboxballoonctrl-service 52 # Stop the autostart service 53 stop_init_script vboxautostart-service 52 54 # Stop the web service 53 55 stop_init_script vboxweb-service … … 58 60 delrunlevel vboxballoonctrl-service > /dev/null 2>&1 59 61 remove_init_script vboxballoonctrl-service 62 delrunlevel vboxautostart-service > /dev/null 2>&1 63 remove_init_script vboxautostart-service 60 64 delrunlevel vboxweb-service > /dev/null 2>&1 61 65 remove_init_script vboxweb-service … … 93 97 /usr/bin/VBoxHeadless \ 94 98 /usr/bin/VBoxBalloonCtrl \ 99 /usr/bin/VBoxAutostart \ 95 100 /usr/bin/VBoxNetDHCP \ 96 101 /usr/bin/vboxwebsrv \
Note:
See TracChangeset
for help on using the changeset viewer.