1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 04:36:19 +00:00
Lakka-LibreELEC/packages/devel/glibc/config/nsswitch-init.conf
Chris Novakovic aeab02f728 initramfs: enable DNS if network is up
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.
2017-07-09 00:31:52 +01:00

4 lines
82 B
Plaintext

# This is just enough to get DNS resolution working in the initramfs
hosts: dns