surge-server.rcS (1142:f31491939594) surge-server.rcS (1196:5e20797f314a)
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
6
6echo -n "mounting swap..."
7/sbin/swapon /dev/hdc1
8echo "done."
9
10echo -n "setting up network..."
11/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
12/sbin/ifconfig eth0:1 192.168.0.2 txqueuelen 1000
13/sbin/ifconfig eth0:2 192.168.0.3 txqueuelen 1000

--- 28 unchanged lines hidden (view full) ---

42echo "done."
43
44echo -n "starting httpd..."
45/benchmarks/apache2/bin/apachectl start
46sleep 2
47cat /benchmarks/apache2/logs/error_log
48echo "done."
49
7echo -n "mounting swap..."
8/sbin/swapon /dev/hdc1
9echo "done."
10
11echo -n "setting up network..."
12/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
13/sbin/ifconfig eth0:1 192.168.0.2 txqueuelen 1000
14/sbin/ifconfig eth0:2 192.168.0.3 txqueuelen 1000

--- 28 unchanged lines hidden (view full) ---

43echo "done."
44
45echo -n "starting httpd..."
46/benchmarks/apache2/bin/apachectl start
47sleep 2
48cat /benchmarks/apache2/logs/error_log
49echo "done."
50
51echo "server ready" | /usr/bin/netcat -c 192.168.10 8000
52
50echo -n "starting bash shell..."
51/bin/bash
53echo -n "starting bash shell..."
54/bin/bash