mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 05:46: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.
20 lines
268 B
Plaintext
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
|