VirtualBox

Changeset 44112 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Dec 12, 2012 5:01:39 PM (12 years ago)
Author:
vboxsync
Message:

Installer/linux: make VBoxHeadlessXOrg terminate the X server forcibly if it is stuck on shut-down.

File:
1 edited

Legend:

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

    r44095 r44112  
    206206  # conf_file=$2
    207207  # log_file=$3
    208   trap "kill \${PID} 2>/dev/null" ${EXIT_SIGNALS}
     208  trap "kill \${PID}; sleep 5; kill -KILL \${PID} 2>/dev/null" ${EXIT_SIGNALS}
    209209  Xorg :"${1}" -auth "${auth}" -config "${2}" -logverbose 0 -logfile /dev/null -verbose 7 > "${3}" 2>&1 &
    210210  PID="$!"
    211211  wait
     212  exit
    212213}
    213214HEADLESS_X_ORG_SERVER_COMMAND="default_command"
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