mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 04:36:19 +00:00
aeab02f728
In certain situations, it is desirable for hostnames to be resolvable in the initramfs (e.g., when a hostname is specified as the NFS server in the "boot" or "disk" kernel parameters). If the network is up when the init script is executed (e.g., when the "ip" kernel parameter is specified) and a DNS server is known, write it to /etc/resolv.conf so it can be used for DNS requests.
4 lines
82 B
Plaintext
4 lines
82 B
Plaintext
# This is just enough to get DNS resolution working in the initramfs
|
|
|
|
hosts: dns
|