summaryrefslogtreecommitdiffstats
path: root/client/shared
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-04-27 11:40:32 +0000
committerramon <ramongomez@us.es>2018-04-27 11:40:32 +0000
commit2e980556cdaf26128fb699101a57462186ea2114 (patch)
tree5d35006bc4596b970f02c9e2178e1d4f86c277f8 /client/shared
parentb242c7212b0d341c75cde349f52e61dc1a4f6b50 (diff)
#802: Correcciones para iniciar servicios en ogLive basado en Ubuntu 18.04 con soporte UEFI.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5761 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared')
-rwxr-xr-xclient/shared/etc/preinit/otherservices.sh2
-rwxr-xr-xclient/shared/scripts/runhttplog.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/shared/etc/preinit/otherservices.sh b/client/shared/etc/preinit/otherservices.sh
index 8c7d4cef..c0399d3b 100755
--- a/client/shared/etc/preinit/otherservices.sh
+++ b/client/shared/etc/preinit/otherservices.sh
@@ -22,7 +22,7 @@ echo -ne "$PASS\n$PASS\n" | passwd root 2>/dev/null
# Cargar el entorno OpenGnsys en conexión SSH.
cp -a $OPENGNSYS/etc/preinit/loadenviron.sh /etc/profile.d/
# Arrancar SSH.
-/usr/sbin/sshd 2>/dev/null
+/etc/init.d/ssh start &>/dev/null
# Desactivado apagado de monitor.
#setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1
diff --git a/client/shared/scripts/runhttplog.sh b/client/shared/scripts/runhttplog.sh
index 82115b14..f0f854b0 100755
--- a/client/shared/scripts/runhttplog.sh
+++ b/client/shared/scripts/runhttplog.sh
@@ -7,6 +7,7 @@ cp /etc/lighttpd/conf-enabled/10-cgi.conf /etc/lighttpd/conf-enabled/10-cgi.conf
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 &