diff options
-rwxr-xr-x | client/shared/etc/preinit/otherservices.sh | 2 | ||||
-rwxr-xr-x | client/shared/scripts/runhttplog.sh | 1 |
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 & |