netifd: add support for suppressing the DHCP request hostname by setting it to *
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Mar 2019 11:45:13 +0000 (12:45 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 22 Dec 2019 21:52:01 +0000 (22:52 +0100)
commit2152722bd3f95878dfdc9071054ceb59e36217bb
tree9675ddfc29b2b8e23b74bb4a7678fc79c42b9f4f
parentc3337e8f48701fa5070d6224cf7669da054c7098
netifd: add support for suppressing the DHCP request hostname by setting it to *

dnsmasq (and probably other DHCP servers as well) does not like to hand out
leases with duplicate host names.
Adding support for skipping the hostname makes it easier to deploy setups
where it is not guaranteed to be unique

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit fd8ca8deb3197a2867d85fc3513f5aa70912ee40)
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh