summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/runhttplog.sh
blob: f0f854b0b65db86afed2657f107f543b515e738f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

#httd-log-status
cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.back
cp /opt/opengnsys/lib/httpd/lighttpd.conf /etc/lighttpd/
cp /etc/lighttpd/conf-enabled/10-cgi.conf /etc/lighttpd/conf-enabled/10-cgi.conf.back
cp /opt/opengnsys/lib/httpd/10-cgi.conf /etc/lighttpd/conf-enabled/
/etc/init.d/lighttpd start
chmod  755 /opt
mkdir -p /usr/lib/cgi-bin
cp /opt/opengnsys/lib/httpd/* /usr/lib/cgi-bin
#TODO: 
dstat -dn 10 > /tmp/bandwidth &
echo "WAITING" >> $OGLOGSESSION
# http-log-status