start-up rc.file....

Thomas Sulentic (thomas@zooachtiv.com)
Tue, 15 Apr 1997 17:28:00 +0000


Im having a bit of a go to get the reflector to startup correctly...
Im running 4.0b3 on Redhat 4.1...

this is the deal...I have my rc.local file as follows:

#!/bin/sh

# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

# Tom's atalk addition

etc/rc.d/rc.atalk

# End atalk addition

#Start Zoo Station Reflector
if [ -x /usr/local/sbin/reflect ] ; then
/usr/local/sbin/reflect -config /usr/local/etc/reflect.conf &
fi

# End Cu-SeeMe reflector Startup

if [ -f /etc/redhat-release ]; then
R=$(cat /etc/redhat-release)
else
R="release 3.0.3"
fi

arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac

# This will overwrite /etc/issue at every boot. So, make any changes
you
# want to make to /etc/issue here or you will lose them when you reboot.
echo "" > /etc/issue
echo "Red Hat Linux $R" >> /etc/issue
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue

cp -f /etc/issue /etc/issue.net
echo >> /etc/issue

When the CPU boots all seems fine....its just when it ends it boot up
the reflect.conf file seems be "pasted" Im not sure the term
here....into the login prompt....

I hit return a few times its ok....I cant log onto the server until I
hit return a few times to clear out the screen...

Does anyone have any idea why this is happening...well I do....I did the
rc.local file wrong...what I guess Im trying to say, what is a fix..??

thanks,
Thomas Sulentic
ZooAchtiv