version 1.0.2 #404 boot-tools configurando interfaz usada en el pxe

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2031 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
Antonio Doblas Viso 2011-05-25 14:59:26 +00:00
parent d162d4e993
commit 5bcd76fe5d
1 changed files with 3 additions and 4 deletions

View File

@ -297,8 +297,7 @@ if [ -n "${DEVICE}" ] && [ -e /tmp/net-"${DEVICE}".conf ]; then
echo "variable DEVICE con valor $DEVICE y fichero /tmp/net-$DEVICE encontrados"
return 0
else
echo "variable DEVICE con valor $DEVICE no encontrada y fichero /tmp/net-$DEVICE encontrados , llamamos de nuevo a ogconfigure_networking"
ogconfigure_networking
echo "variable DEVICE con valor $DEVICE encontrada, procedemos a configurala y a crear el fichero /tmp/net-$DEVICE"
fi
# support ip options see linux sources
@ -346,8 +345,8 @@ done
if [ -n "${DEVICE}" ]; then
. /tmp/net-${DEVICE}.conf
DEVICECFG="/tmp/net-${DEVICE}"
export DEVICECFG
export DEVICE
export $DEVICECFG
export $DEVICE
echo "exportando variable DEVICE con valor = $DEVICE y el DEVICECFG con valor $DEVICECFG"
else
# source any interface as not exaclty specified