VirtualBox

Changeset 36700 in vbox


Ignore:
Timestamp:
Apr 18, 2011 9:19:38 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71213
Message:

Installer/linux: include VBoxBalloonCtrl and the associated service

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/install.sh

    r35204 r36700  
    55
    66#
    7 # Copyright (C) 2007-2010 Oracle Corporation
     7# Copyright (C) 2007-2011 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    104104    check_binary "/usr/bin/VBoxVRDP" "$install_dir" &&
    105105    check_binary "/usr/bin/VBoxHeadless" "$install_dir" &&
     106    check_binary "/usr/bin/VBoxBalloonCtrl" "$install_dir" &&
    106107    check_binary "/usr/bin/vboxwebsrv" "$install_dir"
    107108}
     
    119120# Set up logging before anything else
    120121create_log $LOG
     122
     123# Now stop the ballon control service otherwise it will keep VBoxSVC running
     124stop_init_script vboxballoonctrl-service
    121125
    122126# Now stop the web service otherwise it will keep VBoxSVC running
     
    369373    # Install runlevel scripts
    370374    install_init_script vboxdrv.sh vboxdrv
     375    install_init_script vboxballoonctrl-service.sh vboxballoonctrl-service
    371376    install_init_script vboxweb-service.sh vboxweb-service
    372377    delrunlevel vboxdrv > /dev/null 2>&1
    373378    addrunlevel vboxdrv 20 80 # This may produce useful output
     379    delrunlevel vboxballoonctrl-service > /dev/null 2>&1
     380    addrunlevel vboxballoonctrl-service 25 75 # This may produce useful output
    374381    delrunlevel vboxweb-service > /dev/null 2>&1
    375382    addrunlevel vboxweb-service 25 75 # This may produce useful output
     
    384391    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxVRDP
    385392    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxHeadless
     393    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxBalloonCtrl
    386394    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/vboxwebsrv
    387395    ln -sf $INSTALLATION_DIR/VBox.png /usr/share/pixmaps/VBox.png
     
    495503            RC_SCRIPT=1
    496504        fi
     505        start_init_script vboxballoonctrl-service
    497506        start_init_script vboxweb-service
    498507        log ""
  • trunk/src/VBox/Installer/linux/routines.sh

    r36314 r36700  
    33#
    44
    5 # Copyright (C) 2007-2010 Oracle Corporation
     5# Copyright (C) 2007-2011 Oracle Corporation
    66#
    77# This file is part of VirtualBox Open Source Edition (OSE), as
     
    331331# Stop the init script "name"
    332332#
    333 # syntax: start_init_script name
     333# syntax: stop_init_script name
    334334
    335335stop_init_script() {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette