package/netd: ensure /etc/net.d exists at boot

Before netd starts confd might want to create .conf file for it to run,
so we sort of depend on /etc/net.d existing at boot.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-03-12 22:08:25 +01:00
parent 03b4466e09
commit af15e65087
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -34,6 +34,10 @@ else
NETD_CONF_OPTS += --without-frr
endif
define NETD_INSTALL_EXTRA
cp $(NETD_PKGDIR)/tmpfiles.conf $(TARGET_DIR)/etc/tmpfiles.d/netd.conf
endef
NETD_TARGET_FINALIZE_HOOKS += NETD_INSTALL_EXTRA
$(eval $(autotools-package))
+1
View File
@@ -0,0 +1 @@
d /etc/net.d - - -