#!/bin/sh # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # # # This script is launched by sysid-locale right after the user is prompted # to proceed to starting the Xorg server. It is not invoked in the case of non-interactive # or non-graphical installation. Its purpose is to give the user 30 seconds to actively # move the cursor into an inquiry window and hit Enter, thus indicating that the display sync # is acceptable. If that happens, this script is terminated. # If this script runs through, it aborts the Xorg server and sysidnet processes, and the install # reverts to text-mode. We have found that it is necessary to kill sysidnet separately, otherwise # the installation will hang. . /sbin/install-common if install_debug_isset scripts ; then set -x fi sleep 30 install_debug scripts "$0 X server watchdog timeout" kill -TERM `pgrep -f sysidnet` kill -TERM `pgrep -f Xorg`