Changeset 76046 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Dec 7, 2018 10:18:49 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/install.sh.in
r75839 r76046 471 471 472 472 # Install, set up and start init scripts 473 for i in "$INSTALLATION_DIR/init/vboxadd" "$INSTALLATION_DIR/init/vboxadd-service"; do 474 install_init_script "$i" "`basename "$i"`" 2>> "${LOGFILE}" 475 addrunlevel "`basename "$i"`" 2>> "${LOGFILE}" 476 start_init_script "`basename "$i"`" 2>> "${LOGFILE}" 477 done 473 install_init_script "$INSTALLATION_DIR"/init/vboxadd vboxadd 2>> "$LOGFILE" 474 install_init_script "$INSTALLATION_DIR"/init/vboxadd-service vboxadd-service \ 475 2>> "$LOGFILE" 476 finish_init_script_install 477 addrunlevel vboxadd 2>> "$LOGFILE" 478 addrunlevel vboxadd-service 2>> "$LOGFILE" 479 start_init_script vboxadd 2>> "$LOGFILE" 480 start_init_script vboxadd-service 2>> "$LOGFILE" 478 481 479 482 cp $ROUTINES $INSTALLATION_DIR … … 509 512 510 513 # Stop and clean up all services 511 for i in "$INSTALLATION_DIR/init/vboxadd-service" "$INSTALLATION_DIR/init/vboxadd"; do 512 if test -r "\$i"; then 513 stop_init_script "\`basename "\$i"\`" 2>> "${LOGFILE}" 514 test -z "\${NO_CLEANUP}" && grep -q '^# *cleanup_script *$' "\${i}" && "\${i}" cleanup 2>> "\$LOGFILE" 515 delrunlevel "\`basename "\$i"\`" 2>> "${LOGFILE}" 516 remove_init_script "\`basename "\$i"\`" 2>> "${LOGFILE}" 517 fi 518 done 514 if test -r "$INSTALLATION_DIR"/init/vboxadd-service; then 515 stop_init_script vboxadd-service 2>> "\$LOGFILE" 516 delrunlevel vboxadd-service 2>> "\$LOGFILE" 517 remove_init_script vboxadd-service 2>> "\$LOGFILE" 518 fi 519 if test -r "$INSTALLATION_DIR"/init/vboxadd; then 520 stop_init_script vboxadd 2>> "\$LOGFILE" 521 test -n "\$NO_CLEANUP" || "$INSTALLATION_DIR"/init/vboxadd cleanup 2>> "\$LOGFILE" 522 delrunlevel vboxadd 2>> "\$LOGFILE" 523 remove_init_script vboxadd 2>> "\$LOGFILE" 524 fi 525 finish_init_script_install 519 526 520 527 # Load all modules
Note:
See TracChangeset
for help on using the changeset viewer.