Skip to content
Snippets Groups Projects
Unverified Commit 5831df18 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

busybox: Avoid conflict with netifd

parent 8fce6b67
No related merge requests found
......@@ -12,7 +12,7 @@ diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index fc882d3..5d4ba1d 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -132,6 +132,13 @@ endef
@@ -132,6 +132,14 @@ endef
define Package/busybox/install
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
......@@ -23,6 +23,7 @@ index fc882d3..5d4ba1d 100644
+ for i in $(1)/usr/sbin/*; do \
+ rm -f $$$$i && ln -s ../bin/busybox $(1)/sbin/`basename $$$$i`; \
+ done
+ rm -f $(1)/bin/ifup $(1)/bin/ifdown
ifneq ($(CONFIG_BUSYBOX_$(BUSYBOX_SYM)_CROND),)
$(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron
endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment