From: Konrad Rzeszutek Wilk Date: Thu, 21 Jun 2012 16:45:17 +0000 (-0400) Subject: http: Start httpd when test=netstatic is provided. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a715b3647d39f1193445b7c9581ba061985e4dc5;p=xentesttools%2Fbootstrap.git http: Start httpd when test=netstatic is provided. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/debugspace/www/cgi-bin/netperf b/root_image/debugspace/www/cgi-bin/netperf index aaab158..34811b7 100755 --- a/root_image/debugspace/www/cgi-bin/netperf +++ b/root_image/debugspace/www/cgi-bin/netperf @@ -4,7 +4,7 @@ echo Content-type: text/html echo "" X=$(date "+%s") eval $QUERY_STRING -/netperf -H $H -l $L +/usr/bin/netperf -H $H -l $L Y=$(date "+%s") echo $X $Y diff --git a/root_image/etc/init.d/rcS b/root_image/etc/init.d/rcS index 31173a3..83825f2 100755 --- a/root_image/etc/init.d/rcS +++ b/root_image/etc/init.d/rcS @@ -147,6 +147,7 @@ if [ $? == 0 ]; then ;; netstatic) netserver & + /usr/sbin/httpd -h /www & ;; benchmark) if [ -e /test ]; then