X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-bootscripts;h=63415eeb5344de1da85a1da26d83cc5250dc1fc1;hb=fd7d0d6a1ec9d227e64d48ab65849a8061fc2fe2;hp=f0a45a34bec55206e87bc1d40dc1f7a6d5d99583;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage2/install-bootscripts b/stage2/install-bootscripts index f0a45a3..63415ee 100755 --- a/stage2/install-bootscripts +++ b/stage2/install-bootscripts @@ -22,7 +22,8 @@ for nic_device in ${INTERFACES}; do echo "IFSCOPE=\"\"" >> ${file} echo "GATEWAY=\"${GATEWAY[${LOOP_INDEX}]}\"" >> ${file} - if [ "x${BOOTPROTO[${LOOP_INDEX}]}" = "xdhcp" ]; then + if [ "x${BOOTPROTO[${LOOP_INDEX}]}" = "xdhcp" -o \ + "x${BOOTPROTO[${LOOP_INDEX}]}" = "xwifi" ]; then DHCP_USED="yes" fi