X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-bootscripts;h=63415eeb5344de1da85a1da26d83cc5250dc1fc1;hb=fd7d0d6a1ec9d227e64d48ab65849a8061fc2fe2;hp=894c3440a1d1021002e7e345107ae829e0010470;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage2/install-bootscripts b/stage2/install-bootscripts index 894c344..63415ee 100755 --- a/stage2/install-bootscripts +++ b/stage2/install-bootscripts @@ -1,9 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -source ../config/packages-list +source ../functions/main DHCP_USED="no" @@ -25,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