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

This commit is contained in:
Tomas M
2012-12-29 15:00:47 -06:00
parent 9f8a09435e
commit 63698611bf
+1 -1
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