1#!/bin/sh 2# 3# /etc/init.d/rcS 4# 5 6echo -n "mounting swap..." 7/sbin/swapon /dev/hdc1 8echo "done." --- 33 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 |
50echo "notifying client..." 51echo "server ready" | /usr/bin/netcat -c 192.168.0.10 8000 52echo "done" 53 |
54echo -n "starting bash shell..." 55/bin/bash |