From: Carlos Santos Date: Mon, 9 Mar 2020 02:50:01 +0000 (-0300) Subject: package/ifupdown-scripts: always install /etc/network/nfs_check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=560f5f09b51b4de5cf9cfa1e5979eed3cff6db24;p=buildroot.git package/ifupdown-scripts: always install /etc/network/nfs_check The script is minuscle and can be useful to configure an interface via DHCP at run-time. Signed-off-by: Carlos Santos Signed-off-by: Yann E. MORIN --- diff --git a/package/ifupdown-scripts/ifupdown-scripts.mk b/package/ifupdown-scripts/ifupdown-scripts.mk index abb4575777..d387c530f1 100644 --- a/package/ifupdown-scripts/ifupdown-scripts.mk +++ b/package/ifupdown-scripts/ifupdown-scripts.mk @@ -25,13 +25,12 @@ define IFUPDOWN_SCRIPTS_DHCP echo " wait-delay 15"; \ echo " hostname \$$(hostname)"; \ ) >> $(TARGET_DIR)/etc/network/interfaces - $(INSTALL) -m 0755 -D $(IFUPDOWN_SCRIPTS_PKGDIR)/nfs_check \ - $(TARGET_DIR)/etc/network/nfs_check endef endif define IFUPDOWN_SCRIPTS_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/etc/network + $(INSTALL) -m 0755 -D $(IFUPDOWN_SCRIPTS_PKGDIR)/nfs_check \ + $(TARGET_DIR)/etc/network/nfs_check $(call SYSTEM_RSYNC,$(IFUPDOWN_SCRIPTS_PKGDIR)/network,$(TARGET_DIR)/etc/network) $(IFUPDOWN_SCRIPTS_LOCALHOST) $(IFUPDOWN_SCRIPTS_DHCP)