diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 7 |
1 files changed, 7 insertions, 0 deletions
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" |
