Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | #httd-log-status |
---|
4 | cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.back |
---|
5 | cp /opt/opengnsys/lib/httpd/lighttpd.conf /etc/lighttpd/ |
---|
6 | cp /etc/lighttpd/conf-enabled/10-cgi.conf /etc/lighttpd/conf-enabled/10-cgi.conf.back |
---|
7 | cp /opt/opengnsys/lib/httpd/10-cgi.conf /etc/lighttpd/conf-enabled/ |
---|
8 | /etc/init.d/lighttpd start |
---|
9 | chmod 755 /opt |
---|
10 | mkdir -p /usr/lib/cgi-bin |
---|
11 | cp /opt/opengnsys/lib/httpd/* /usr/lib/cgi-bin |
---|
12 | #TODO: |
---|
13 | dstat -dn 10 > /tmp/bandwidth & |
---|
14 | echo "WAITING" >> $OGLOGSESSION |
---|
15 | # http-log-status |
---|
Note: See
TracBrowser
for help on using the repository browser.