diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-11 20:07:05 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-01-11 20:07:05 +0000 |
commit | 053ce451b19ae84c807ff6920b10efb30d8e0aa4 (patch) | |
tree | 2a6104d07625ab8aff16e6542fafc873f1853fcd /testing/scripts/start-umls | |
parent | 883c1e30847c4d56ebc56f7b7ee570b0a5dab43f (diff) | |
download | strongswan-053ce451b19ae84c807ff6920b10efb30d8e0aa4.tar.bz2 strongswan-053ce451b19ae84c807ff6920b10efb30d8e0aa4.tar.xz |
use uml_mconsole to check end of booting process
Diffstat (limited to 'testing/scripts/start-umls')
-rwxr-xr-x | testing/scripts/start-umls | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls index f51791dfa..1b875a696 100755 --- a/testing/scripts/start-umls +++ b/testing/scripts/start-umls @@ -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 |