mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-17 19:59:25 +02:00
Fix enabling of init scripts.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
015124ea4f
commit
5ea5da8a98
@ -36,7 +36,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
|
|||||||
cd $(TARGET_DIR); \
|
cd $(TARGET_DIR); \
|
||||||
for script in ./etc/init.d/*; do \
|
for script in ./etc/init.d/*; do \
|
||||||
grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \
|
grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \
|
||||||
IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \
|
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
|
||||||
done || true \
|
done || true \
|
||||||
)
|
)
|
||||||
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
|
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
|
||||||
|
Loading…
Reference in New Issue
Block a user