dhcpcd 9.4.x compatibility (#475)

* `nodev`, otherwise dhcpcd finds no valid interfaces
* `noup`, prevents dhcpcd from bringing up interfaces in favor of UnifiOS
This commit is contained in:
Michael Weber 2023-02-06 23:16:58 -06:00 committed by GitHub
parent b337a1a292
commit a7cd224115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,8 @@ test -f "${confdir}/dhcpcd.conf" || {
: > "${confdir}/dhcpcd.conf.tmp"
cat >> "${confdir}/dhcpcd.conf.tmp" <<EOF
allowinterfaces ${wan_iface}
nodev
noup
ipv6only
nooption domain_name_servers
nooption domain_name