diff options
author | ramon <ramongomez@us.es> | 2012-07-23 11:52:23 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-07-23 11:52:23 +0000 |
commit | 1663c67f0eed2ed5b881d2430afc79df3d1cffb8 (patch) | |
tree | feadf24a40da47e93cce49ea8ff09354f097bf04 /client/shared/scripts/generateMenuDefault | |
parent | 8fce88896c45ab4fcb6eff988b17916efe158de2 (diff) |
#411: Usar interfaz detectada en script {{{generateMenuDefault}}}
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3265 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/generateMenuDefault')
-rwxr-xr-x | client/shared/scripts/generateMenuDefault | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/shared/scripts/generateMenuDefault b/client/shared/scripts/generateMenuDefault index 404de375..4fe8ceb1 100755 --- a/client/shared/scripts/generateMenuDefault +++ b/client/shared/scripts/generateMenuDefault @@ -1,6 +1,7 @@ #ยช/bin/bash -source /tmp/net-eth0.conf +DEVICE=${DEVICE:-"eth0"} +source /tmp/net-$DEVICE.conf FILEINFOHTML=$OGLOG/`ogGetIpAddress`.info.html FILEINFOCACHE=$OGLOG/`ogGetIpAddress`.cache.txt ogMountCache 2>/dev/null |