Instead of running an endless loop, let the console logout and log back in after a command. This fixes some of the issues on serial console.

This commit is contained in:
Scott Ullrich 2007-06-03 00:34:58 +00:00
parent 119cd3afac
commit db6e5348fe

View File

@ -50,7 +50,7 @@ echo `tty` > /tmp/last_term_seen
PLATFORM=`cat /etc/platform`
# endless loop
while : ; do
# while : ; do
if [ -f /tmp/ttybug ]; then
rm /tmp/ttybug
@ -161,11 +161,7 @@ case ${opmode} in
links "http://localhost"
fi
;;
"")
echo -n "Press CTRL-C to continue."
sleep 1000000
;;
esac
done
#done