1#!/bin/sh 2# 3# /etc/init.d/rcS 4# 5 |
6 |
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 |
53echo -n "starting bash shell..." 54/bin/bash |