summaryrefslogtreecommitdiff
path: root/configs/boot/surge-server.rcS
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-11-16 22:43:12 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2004-11-16 22:43:12 -0500
commit182425da82976a7bddcd259e8b56fed348c52eab (patch)
treef5aa45d3e733efcde4680726c7d51cb323085202 /configs/boot/surge-server.rcS
parent33135a051abcaad29bd04118e9d7028f7529b4a5 (diff)
downloadgem5-182425da82976a7bddcd259e8b56fed348c52eab.tar.xz
add support for NAT under netperf stream, maerts, and spec-surge.
configs/boot/spec-surge-client.rcS: configs/boot/surge-client.rcS: fix this rcS - don't sleep, instead wait for the server to tell you it's done. configs/boot/spec-surge-server.rcS: configs/boot/surge-server.rcS: notify the client you're done starting the server. --HG-- extra : convert_revision : b708bd0a9147e248eed7c27e7078668fbd98b95e
Diffstat (limited to 'configs/boot/surge-server.rcS')
-rwxr-xr-xconfigs/boot/surge-server.rcS3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/boot/surge-server.rcS b/configs/boot/surge-server.rcS
index 28e626120..75642c259 100755
--- a/configs/boot/surge-server.rcS
+++ b/configs/boot/surge-server.rcS
@@ -3,6 +3,7 @@
# /etc/init.d/rcS
#
+
echo -n "mounting swap..."
/sbin/swapon /dev/hdc1
echo "done."
@@ -47,5 +48,7 @@ sleep 2
cat /benchmarks/apache2/logs/error_log
echo "done."
+echo "server ready" | /usr/bin/netcat -c 192.168.10 8000
+
echo -n "starting bash shell..."
/bin/bash