Skip to content

Commit 9815540

Browse files
author
Adam Watkins
committed
Clear /etc/resolv.conf
1 parent 37b5d7b commit 9815540

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/etc/initramfs-tools/scripts/init-premount/networking.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ wait_for_udev 10
2323
ipconfig -t 30 -c dhcp -d eth0
2424

2525

26-
touch /etc/resolv.conf
2726
# Cloudflare
28-
echo 'nameserver 1.1.1.1' >> /etc/resolv.conf
27+
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
2928
echo 'nameserver 1.0.0.1' >> /etc/resolv.conf
3029

3130
# Quad 9

0 commit comments

Comments
 (0)