- ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen.

This commit is contained in:
Alexander Barton 2002-09-13 06:04:49 +00:00
parent a0b06ecbd4
commit e7b09536bf
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# ngIRCd Test Suite
# $Id: start-server.sh,v 1.3 2002/09/12 02:27:30 alex Exp $
# $Id: start-server.sh,v 1.4 2002/09/13 06:04:49 alex Exp $
echo " starting server ..."
@ -11,7 +11,7 @@ echo "This is an ngIRCd Test Server" > ngircd-test.motd
./ngircd-TEST -np -f ${srcdir}/ngircd-test.conf > ngircd-test.log 2>&1 &
sleep 1
ps a > procs.tmp
ps ax > procs.tmp
pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"`
kill -0 $pid > /dev/null 2>&1

View File

@ -1,10 +1,10 @@
#!/bin/sh
# ngIRCd Test Suite
# $Id: stop-server.sh,v 1.2 2002/09/12 02:27:47 alex Exp $
# $Id: stop-server.sh,v 1.3 2002/09/13 06:04:49 alex Exp $
echo " stopping server ..."
ps a > procs.tmp
ps ax > procs.tmp
pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"`
kill $pid > /dev/null 2>&1