index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-05-19 16:16:17 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-05-29 23:48:15 -0300 |
commit | 6636365f4922e3d81965e4e7cb24a7354453d025 (patch) | |
tree | eb7ca18b613926d78a9725705ff7a98a6bfe87a0 /archiso/hooks | |
parent | ed7b0f0a2fbf61c0175bab17818733741e27c043 (diff) |
-rw-r--r-- | archiso/hooks/archiso_pxe_common | 8 |
diff --git a/archiso/hooks/archiso_pxe_common b/archiso/hooks/archiso_pxe_common index febb503..d8ac709 100644 --- a/archiso/hooks/archiso_pxe_common +++ b/archiso/hooks/archiso_pxe_common @@ -40,3 +40,11 @@ run_hook () { fi fi } + +run_latehook () { + [[ -z "${copy_resolvconf}" ]] && copy_resolvconf="y" + + if [[ "${copy_resolvconf}" != "n" && -f /etc/resolv.conf ]]; then + cp /etc/resolv.conf /new_root/etc/resolv.conf + fi +} |