Lakka-LibreELEC/packages/devel/glibc/config/nsswitch-target.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

20 lines
268 B
Plaintext

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
#
passwd: files
group: files
shadow: files
gshadow: files
hosts: files dns
networks: files dns
protocols: files
services: files
ethers: files
rpc: files
netgroup: files