X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F15_remove_resolv_conf_symlink.dpatch;fp=debian%2Fpatches%2Fdisabled%2F09_fix_resolvconf_pxeboot.dpatch;h=3bd9bacdb36bee033a4eee00a0a0dd0cb703fa73;hb=7e8b00c9be2d4a7cda96fd367210c3d101f367c7;hp=89bda0d739a810abc8dac3db12ca7de2ce09d4d8;hpb=a1ae8783167421fb264d4a3a408f2dbd0872e14b;p=live-boot-grml.git diff --git a/debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch b/debian/patches/15_remove_resolv_conf_symlink.dpatch similarity index 82% rename from debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch rename to debian/patches/15_remove_resolv_conf_symlink.dpatch index 89bda0d..3bd9bac 100755 --- a/debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch +++ b/debian/patches/15_remove_resolv_conf_symlink.dpatch @@ -1,5 +1,5 @@ #! /bin/sh /usr/share/dpatch/dpatch-run -## 09_fix_resolvconf_pxeboot.dpatch by Michael Prokop +## 15_remove_resolv_conf_symlink.dpatch by Michael Prokop ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: fix resolvconf handling when booting via PXE @@ -18,16 +18,16 @@ @DPATCH@ diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking -index 72aaf12..244eeca 100755 ---- a/grml/23networking -+++ b/grml/23networking +index 9554b77..70ea6e7 100755 +--- a/scripts/live-bottom/23networking ++++ b/scripts/live-bottom/23networking @@ -110,6 +110,11 @@ EOF then if [ -f /netboot.config ] then + if [ -h /root/etc/resolv.conf ] + then -+ rm /root/etc/resolv.conf ++ rm /root/etc/resolv.conf + fi + # create a resolv.conf if it is not present or empty