VirtualBox

Ignore:
Timestamp:
Nov 5, 2015 7:13:45 PM (9 years ago)
Author:
vboxsync
Message:

bugref:7906: Installers/Linux: support systemd: add systemd support to the validation kit too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/linux/setup-routines.sh

    r56295 r58591  
    6868
    6969os_enable_service() {
    70     /etc/init.d/testboxscript-service start
     70    stop_init_script testboxscript-service
    7171    return 0;
    7272}
    7373
    7474os_disable_service() {
    75     if [ -f /etc/init.d/testboxscript-service ]; then
    76         /etc/init.d/testboxscript-service stop || true # Ignore
    77     fi
     75    stop_init_script testboxscript-service 2>&1 || true # Ignore
    7876    return 0;
    7977}
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