15
if [ ! -e /target/sbin/resolvconf ] && [ -f /etc/resolv.conf ]; then
17
cp /etc/resolv.conf /target/etc/resolv.conf
15
if [ -f /etc/resolv.conf ]; then
16
if [ -e /target/sbin/resolvconf ]; then
17
if [ -d /target/run/resolvconf ]; then
18
# resolvconf won't be running during installation,
19
# so make sure that we at least have basic
20
# configuration in place. If there's anything
21
# complicated that needs to persist, netcfg will
22
# have written that to /etc/network/interfaces.
23
cp /etc/resolv.conf /target/run/resolvconf/resolv.conf
27
cp /etc/resolv.conf /target/etc/resolv.conf