index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-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 +} |