projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c8f76
)
Copy resolv.conf to live system root (Closes: #627178).
author
Michal Suchanek
<hramrach@centrum.cz>
Tue, 17 May 2011 16:40:01 +0000
(18:40 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 18 May 2011 17:29:51 +0000
(19:29 +0200)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
2afbb69
..
76be7ae
100755
(executable)
--- 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"