mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
119cd3afac
commit
db6e5348fe
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user