diff options
author | adv <adv@uma.es> | 2011-06-28 19:02:13 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2011-06-28 19:02:13 +0000 |
commit | 28986cb9b521bda56bde2dbaf143b0326da71b6b (patch) | |
tree | 993302da08967062f57f9b6f1de6c5974f87057d /client/shared/etc/init | |
parent | 97f3b6a9e4af8feb11aff3514d9900516cc20857 (diff) |
version 1.0.2 httpd-log #421 inicio del servicio lighttpd
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2107 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/init')
-rwxr-xr-x | client/shared/etc/init/default.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh index 1cbd738a..b98427ba 100755 --- a/client/shared/etc/init/default.sh +++ b/client/shared/etc/init/default.sh @@ -1,6 +1,25 @@ #!/bin/bash # TODO Separar esta sección en otro script + +#httd-log-status +cp /opt/opengnsys/http/10-cgi.conf /etc/lighttpd/conf-enabled/ +/etc/init.d/lighttpd start +chmod 755 /opt +cp /opt/opengnsys/http/* /usr/lib/cgi-bin +#TODO: +dstat -dn 10 > /tmp/bandwidth & +export OGLOGTRACK=/tmp/track.log +export OGLOGSTANDAR=/tmp/standar.log +touch $OGLOGTRACK +touch $OGLOGSTANDAR +touch ${OGLOGTRACK}.tmp +chmod 777 $OGLOGTRACK +chmod 777 $OGLOGSTANDAR +chmod 777 ${OGLOGTRACK}.tmp +echo "preparado" >> $OGLOGSTANDAR +# http-log-status + # Lanzar servicios complementarios del cliente. echo -ne "og\nog\n" | passwd root #Compatibilidad ssh con el boot-tools 1.0.2 |