diff options
author | albertogp <albertogp@uma.es> | 2021-04-27 21:37:56 +0200 |
---|---|---|
committer | albertogp <albertogp@uma.es> | 2021-04-27 21:37:56 +0200 |
commit | cb978b76ee851192784a078d02c1694899ce7d75 (patch) | |
tree | 4e00d29f7675cc4a78797bf6317909e7f47663f5 /client/shared/scripts/generateMenuDefault | |
parent | ed89e603e0b4c9d1bff617df9c127031001ed008 (diff) |
"#ID-1037 Preparando todos los ficheros para versiĆ³n 1.2.1"
Diffstat (limited to 'client/shared/scripts/generateMenuDefault')
-rwxr-xr-x | client/shared/scripts/generateMenuDefault | 3 |
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 |