summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2021-04-27 21:37:56 +0200
committeralbertogp <albertogp@uma.es>2021-05-04 12:55:29 +0200
commit1306eb0cf6244cf1c3c8d1e9acc0e4ea781fb3cc (patch)
tree62056e685dd45858a9fde1b677336ce6c46ae6c1 /client/shared/scripts
parent56c079ad5c48e367f8c37d901de72c1e38f5a104 (diff)
"#ID-1037 Preparando todos los ficheros para versiĆ³n 1.2.1"
Diffstat (limited to 'client/shared/scripts')
-rwxr-xr-xclient/shared/scripts/generateMenuDefault3
1 files changed, 3 insertions, 0 deletions
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