diff options
Diffstat (limited to 'client/shared/scripts')
-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 |