summaryrefslogtreecommitdiff
path: root/testing/scripts/start-umls
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 21:00:49 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 21:00:49 +0000
commitcd4e20d58fb0d782ba9f7bd4bead4f333d670370 (patch)
tree40dedbc421cf4811b9f70b8a62977fd962b9facd /testing/scripts/start-umls
parent5c3858b7d7ae271065816bea3a4944b75bc890d1 (diff)
downloadvyos-strongswan-cd4e20d58fb0d782ba9f7bd4bead4f333d670370.tar.gz
vyos-strongswan-cd4e20d58fb0d782ba9f7bd4bead4f333d670370.zip
- New upstream release, now _with_ XAUTH support.
Diffstat (limited to 'testing/scripts/start-umls')
-rwxr-xr-xtesting/scripts/start-umls7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls
index f51791dfa..89d9e0d81 100755
--- a/testing/scripts/start-umls
+++ b/testing/scripts/start-umls
@@ -14,7 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
-# RCSID $Id: start-umls,v 1.5 2005/08/30 22:13:12 as Exp $
+# RCSID $Id: start-umls,v 1.6 2007/01/11 20:32:01 as Exp $
DIR=`dirname $0`
@@ -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