[K12OSN] Thin clients not able to connect
Jennifer Waters
watersjenusa2002 at yahoo.com
Thu Nov 4 16:42:45 UTC 2004
Here is a snippet of the rc.sysinit file. Hopefully
it helps.
Thank you for your help.
Jennifer
################################################################################
#
# Check the hostname
#
echo "127.0.0.1 localhost $"s03"tmp/hosts
echo "${DEFAULT_SERVER} server" >>/tmp/hosts
################################################################################
#
# Start the syslog daemon
#
pr_set 88 "Starting syslogd"
SYSLOG_HOST=${SYSLOG_HOST:-${DEFAULT_SERVER}}
reg_info SYSLOG_HOST
echo "Starting syslogd"
echo "*.* @${SYSLOG_HOST}" >/tmp/syslog.conf
syslogd -m 60 -R ${SYSLOG_HOST}
################################################################################
#
# Local app daemon stuff
#
if [ "${LOCAL_APPS}" = "Y" ]; then
pr_set 90 "Starting Portmapper"
echo "Starting portmapper"
portmap
# pr_set 91 "Starting xinetd"
# echo "Starting xinetd"
# xinetd
if [ "${NIS_SERVER}" != "" ]; then
pr_set 92"Setting NIS server"
echo "Setting NIS Server"
echo "ypserver ${NIS_SERVER}" >>/tmp/yp.conf
reg_info NIS_SERVER
fi
pr_set 93 "Setting domainname"
echo "Setting domainname"
NIS_DOMAIN=${NIS_DOMAIN:-"ltsp"}
reg_info NIS_DOMAIN
echo domainname ${NIS_DOMAIN}
domainname ${NIS_DOMAIN}
pr_set 94 "Starting ypbind"
echo "Starting ypbind"
if [ -z "${NIS_SERVER}" ]; then
ypbind -broadcast
else
ypbind -f /tmp/yp.conf
fi
echo "Starting sshd..."
sshd
fi
################################################################################
#
# Run the additional rc files.
# These are to make it easier to integrate additional
functionality
# into an ltsp system. Add your scripts to etc/rc.d,
and put the name
# of the script in the lts.conf file, and it will be
executed.
#
pr_set 95 "Checking for rcfiles"
for i in 01 02 03 04 05 06 07 08 09 10; do
RCVAR=RCFILE_${i}
RCFILE=${!RCVAR}
if [ -n "${RCFILE}" ]; then
reg_info ${RCVAR}
if [ -x /etc/rc.d/${RCFILE} ]; then
/etc/rc.d/${RCFILE}
else
pr_fail
echo
echo " ERROR: RCFILE_${i} is setup in
lts.conf, but"
echo " it does not exist in the /etc/rc.d
directory"
echo
echo -n "Press <enter> to continue "
read CMD
fi
fi
done
################################################################################
#
# Setup the sound stuff.
#
reg_info SOUND
if [ "${SOUND}" = "Y" ]; then
pr_set 97 "Setting up sound"
/etc/rc.sound
fi
################################################################################
#
# Setup a link in /tmp to give backward compatibility
with
# earlier versions of ltsp.
#
ln -s /etc/screen.d/startx /tmp/start_ws
pr_set 100 "rc.sysinit completed, switching to
multi-session mode"
echo "rc.sysinit completed, switching to multi-session
mode"
echo
sleep 1
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
More information about the K12OSN
mailing list