Fix enabling of init scripts.
SVN-Revision: 12482
This commit is contained in:
parent
2552e9362b
commit
fbdb8046c2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
|
|||
cd $(TARGET_DIR); \
|
||||
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; \
|
||||
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
|
||||
done || true \
|
||||
)
|
||||
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
|
||||
|
|
Loading…
Reference in a new issue