X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=76be7ae8db24841e845e3fe42fd1cf250940de87;hb=822bdbf4f203761cfc76cb720ff55350688c39d4;hp=2afbb69419c8cd016aa3d39b7815faf43a9a959d;hpb=28c8f765c24f4f9f2244045600bbe13c270e9d67;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 2afbb69..76be7ae 100755 --- a/scripts/live +++ b/scripts/live @@ -1942,6 +1942,13 @@ mountroot () log_end_msg fi + if [ -f /etc/resolv.conf ] && [ ! -s ${rootmnt}/etc/resolv.conf ] + then + log_begin_msg "Copying /etc/resolv.conf to ${rootmnt}/etc/resolv.conf" + cp -v /etc/resolv.conf ${rootmnt}/etc/resolv.conf + log_end_msg + fi + maybe_break live-bottom log_begin_msg "Running /scripts/live-bottom\n"