#!/bin/sh
# #####################################################################
#
#   Xfailsafe
#
#   Common Desktop Environment
#
#   Configuration file for the Login Manager
#
#   (c) Copyright 1993, 1994 Hewlett-Packard Company
#   (c) Copyright 1993, 1994 International Business Machines Corp.
#   (c) Copyright 1993, 1994 Sun Microsystems, Inc.
#   (c) Copyright 1993, 1994 Novell, Inc.
#
#        ************** DO NOT EDIT THIS FILE **************
#
#   /usr/pkg/dt/config/Xfailsafe is a factory-default file and will
#   be unconditionally overwritten upon subsequent installation.
#   Before making changes to the file, copy it to the configuration 
#   directory, /usr/pkg/usr/pkg/etc/dt/config. You must also update the 
#   failsafeClient resource in /usr/pkg/usr/pkg/etc/dt/config/Xconfig.
#
#   $XConsortium: Xfailsafe.src /main/5 1996/07/02 11:39:20 mgreess $
# #####################################################################
#
#
#  This file contains commands to invoke a simple session for repairs of
#  a dysfunctional environment. 
#
#  All clients should be run in the background with the exception of the
#  last client.  When the last client is terminated by the user, the session
#  will be terminated and the login screen will be presented.
#
#  This simple session consists of a window manager and a single terminal 
#  emulator.
#
#  Global variables
#
   XDIR=/usr/X11R7/bin
   DELAY=2
   
#
#  Set background to default weave.
#
   XDIR=/usr/X11R7/bin
$XDIR/xsetroot -default &
#
#  Start a window manager.
#
   $XDIR/mwm &
   sleep $DELAY
#
#  Start the terminal emulator (also the session terminator client).
#
   $XDIR/xterm -ls
