package/systemd: use interface name for networkd config file
By using the interface in the filename for the networkd config file, we have a clear association between the config file and the interface it applies to. This is beneficical for systems that have multiple interfaces. Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6082de3cf6
commit
5ba81d0109
|
@ -330,7 +330,7 @@ ifneq ($(SYSTEMD_NETWORKD_DHCP_IFACE),)
|
||||||
define SYSTEMD_INSTALL_NETWORK_CONFS
|
define SYSTEMD_INSTALL_NETWORK_CONFS
|
||||||
sed s/SYSTEMD_NETWORKD_DHCP_IFACE/$(SYSTEMD_NETWORKD_DHCP_IFACE)/ \
|
sed s/SYSTEMD_NETWORKD_DHCP_IFACE/$(SYSTEMD_NETWORKD_DHCP_IFACE)/ \
|
||||||
$(SYSTEMD_PKGDIR)/dhcp.network > \
|
$(SYSTEMD_PKGDIR)/dhcp.network > \
|
||||||
$(TARGET_DIR)/etc/systemd/network/dhcp.network
|
$(TARGET_DIR)/etc/systemd/network/$(SYSTEMD_NETWORKD_DHCP_IFACE).network
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue