first parameter cant be empty. So use keyword 'dhcp'
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ download_data_pxe()
|
|||||||
if [ "$PORT" = "" ]; then PORT="7529"; fi
|
if [ "$PORT" = "" ]; then PORT="7529"; fi
|
||||||
|
|
||||||
# set IP address as given by boot paramter
|
# set IP address as given by boot paramter
|
||||||
if [ "$CLIENT" != "" ]; then
|
if [ "$CLIENT" != "dhcp" ]; then
|
||||||
ifconfig $ETH "$CLIENT" netmask "$MASK"
|
ifconfig $ETH "$CLIENT" netmask "$MASK"
|
||||||
route add default gw "$GW"
|
route add default gw "$GW"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user