first parameter cant be empty. So use keyword 'dhcp'

pull/5/head
Tomas M 2012-12-29 15:00:47 -06:00
parent 9f8a09435e
commit 63698611bf
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ download_data_pxe()
if [ "$PORT" = "" ]; then PORT="7529"; fi
# set IP address as given by boot paramter
if [ "$CLIENT" != "" ]; then
if [ "$CLIENT" != "dhcp" ]; then
ifconfig $ETH "$CLIENT" netmask "$MASK"
route add default gw "$GW"
else