#!/bin/bash
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
# r51.hsc src/hsc/scripts/startLangDialog.sh 1.4 
#  
# IBM CONFIDENTIAL 
#  
# OBJECT CODE ONLY SOURCE MATERIALS 
#  
# (C) COPYRIGHT International Business Machines Corp. 2002 
# All Rights Reserved 
#  
# The source code for this program is not published or otherwise 
# divested of its trade secrets, irrespective of what has been 
# deposited with the U.S. Copyright Office. 
#  
#
### BEGIN INIT INFO
# Provides: startLangDialog
# Required-Start: hotplug
# Required-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: Provide language settings
### END INIT INFO

# Source function library.
. /etc/rc.status

rc_reset


PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
if [ -f /opt/hsc/data/nolocalecheck ]  ; then
  exit 0
fi
case "$1" in
 start)
	/usr/X11R6/bin/xinit /opt/hsc/bin/startBootLang 2>/dev/null
	rc_status -v
	;;
 stop)
	rc_status -v
	;;
 *)
	echo "Usage: startLangDialog {start | stop}"
	exit 1
	;;
esac

rc_exit
