diff --git a/unbox.sh b/unbox.sh index 4f958e1..bbb5c67 100755 --- a/unbox.sh +++ b/unbox.sh @@ -72,6 +72,9 @@ function unbox_outer_stage(){ mount -obind /dev target/dev mount -obind /dev/pts target/dev/pts + resolv_conf=target/etc/resolv.conf + + if [[ -L target/etc/resolv.conf ]]; then resolv_conf=$(readlink "target/etc/resolv.conf")