index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | David Thurstenson <thurstylark@gmail.com> | 2017-03-10 14:01:06 -0600 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2017-03-14 11:12:29 -0300 |
commit | 8afbf3d5e8968e21915feec812800b002d3a4bf1 (patch) | |
tree | 2a1317c0e153720c9a13c5da4a2e042dac47242c /hooks/archiso_pxe_common | |
parent | a914269eecca066e8dfe53ae16b5443f232dc498 (diff) |
-rw-r--r-- | hooks/archiso_pxe_common | 6 |
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index 96a10c5..2380ca3 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -22,7 +22,11 @@ run_hook () { break fi done - ip="${ip}::${bootif_dev}" + if [[ "${ip}" == "dhcp" ]]; then + ip=":::::${bootif_dev}:dhcp" + else + ip="${ip}::${bootif_dev}" + fi fi # setup network and save some values |