use uml_mconsole to check end of booting process

This commit is contained in:
Andreas Steffen
2007-01-11 20:07:05 +00:00
parent 883c1e3084
commit 053ce451b1
3 changed files with 26 additions and 11 deletions
+2 -3
View File
@@ -90,14 +90,13 @@ do
exit 1
fi
pid=`cat ~/.uml/$host/pid`
up=`ps up $pid | grep agetty | wc -l`
up=`uml_mconsole $host proc net/route 2> /dev/null | grep eth0 | wc -l`
while [ $count -lt $count_max ] && [ $up -eq 0 ]
do
cecho-n "."
sleep 5
up=`ps up $pid | grep agetty | wc -l`
up=`uml_mconsole $host proc net/route 2> /dev/null | grep eth0 | wc -l`
let "count+=1"
done