Skip to content
Snippets Groups Projects
Commit 11109cab authored by nbd's avatar nbd
Browse files

build: do another init script enabling run, fixes init scripts added via files/ (#19857)


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45964 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent a33f91f1
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,10 @@ $(curdir)/install: $(TMP_DIR)/.build
cd $(TARGET_DIR); \
for script in ./usr/lib/opkg/info/*.postinst; do \
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) $$script; \
done; \
for script in ./etc/init.d/*; do \
grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
done || true \
)
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment