summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/generateMenuDefault
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2021-04-27 21:37:56 +0200
committeralbertogp <albertogp@uma.es>2021-04-27 21:37:56 +0200
commitcb978b76ee851192784a078d02c1694899ce7d75 (patch)
tree4e00d29f7675cc4a78797bf6317909e7f47663f5 /client/shared/scripts/generateMenuDefault
parented89e603e0b4c9d1bff617df9c127031001ed008 (diff)
"#ID-1037 Preparando todos los ficheros para versiĆ³n 1.2.1"
Diffstat (limited to 'client/shared/scripts/generateMenuDefault')
-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