aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-31 12:05:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-31 12:05:37 +0000
commitb22491e0f809984097ae2ddf0bba980bb37d354a (patch)
treec564d6b7ab3c0efef21d32b89c5f67dfe0bbd256 /package
parent3e8bdad848c5cc42ba4f91079ea4fa8d053151a5 (diff)
downloadupstream-b22491e0f809984097ae2ddf0bba980bb37d354a.tar.gz
upstream-b22491e0f809984097ae2ddf0bba980bb37d354a.tar.bz2
upstream-b22491e0f809984097ae2ddf0bba980bb37d354a.zip
make sure that /etc/rc.d exists before creating symlinks
SVN-Revision: 7417
Diffstat (limited to 'package')
-rw-r--r--package/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index c3fc01c7df..64c78de5e7 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -51,6 +51,7 @@ install:
@if [ -d $(TOPDIR)/files ]; then \
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
fi
+ @mkdir -p $(BUILD_DIR)/root/etc/rc.d
@( \
cd $(BUILD_DIR)/root; \
for script in ./etc/init.d/*; do \