nat-spec-surge-server.rcS (1648:4214fd0ea44d) nat-spec-surge-server.rcS (3032:dc687512802b)
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5NATBOX=192.168.0.7
6
7echo -n "mounting swap..."
8/sbin/swapon /dev/hdc

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

44echo -n "starting httpd..."
45/benchmarks/apache2/bin/apachectl start
46sleep 2
47cat /benchmarks/apache2/logs/error_log
48echo "done."
49
50echo "notifying natbox..."
51sleep 5
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5NATBOX=192.168.0.7
6
7echo -n "mounting swap..."
8/sbin/swapon /dev/hdc

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

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