X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-bootscripts;h=63415eeb5344de1da85a1da26d83cc5250dc1fc1;hb=6ed64373e7310594b8088cea04fc76465894fc88;hp=75b40117827e69929c75f7a0eb388d8ccba3ee12;hpb=7f1a3e5d69d0b1d64619604c30243e0070dc09ad;p=hvlinux.git diff --git a/stage2/install-bootscripts b/stage2/install-bootscripts index 75b4011..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 ../sysinfos -source ../functions -source ../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