mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-05 21:02:09 +00:00
@@ -14,7 +14,7 @@ start()
|
||||
|
||||
ebegin "Testing DNS resolution"
|
||||
|
||||
ifconfig eth0 2>1 >/dev/null && \
|
||||
ifconfig eth0 2>&1 >/dev/null && \
|
||||
(dig localhost 2>&1 > /dev/null || printf "nameserver 8.8.8.8\nnameserver 8.8.4.4\n" > /etc/resolv.conf)
|
||||
|
||||
eend $? "DNS fix failed"
|
||||
|
||||
Reference in New Issue
Block a user