From cb978b76ee851192784a078d02c1694899ce7d75 Mon Sep 17 00:00:00 2001 From: albertogp Date: Tue, 27 Apr 2021 21:37:56 +0200 Subject: "#ID-1037 Preparando todos los ficheros para versiĆ³n 1.2.1" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/shared/scripts/generateMenuDefault | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/shared/scripts/generateMenuDefault') diff --git a/client/shared/scripts/generateMenuDefault b/client/shared/scripts/generateMenuDefault index 09e4300f..dd4388df 100755 --- a/client/shared/scripts/generateMenuDefault +++ b/client/shared/scripts/generateMenuDefault @@ -8,8 +8,11 @@ DEVICE=${DEVICE:-"eth0"} source /tmp/net-$DEVICE.conf FILEINFOHTML=$OGLOG/`ogGetIpAddress`.info.html FILEINFOCACHE=$OGLOG/`ogGetIpAddress`.cache.txt +FILETIPODISK=$OGLOG/`ogGetIpAddress`.tdisk.txt ogMountCache 2>/dev/null CACHECONTENIDO="ls -m $OGCAC/$OGIMG 2>/dev/null" +TIPODISK=`cat /tmp/getconfigd` +echo $TIPODISK > $FILETIPODISK SPEED=$(LANG=C ethtool $DEVICE 2>/dev/null | awk '$1~/Speed/ {print $2}') case "${SPEED,,}" in -- cgit v1.2.3-18-g5258