bringDownTestServers.sh 191 B

1234567891011121314
  1. #!/bin/sh
  2. servers=$(cat cfg/$1/serverIPs.cfg)
  3. clients=$(cat cfg/$1/clientIPs.cfg)
  4. for server in $servers
  5. do
  6. curl $server/exit
  7. done
  8. for client in $clients
  9. do
  10. curl $client/exit
  11. done