summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-31 12:05:37 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-31 12:05:37 +0000
commit3bc4300361087b128cd894f4ad1c93bfa760aab0 (patch)
treeeba07c4fa0d61d6a49e3bec632a96806ad3f3ecf
parent8b490e25bbd4312f07543661517e528c97c91a6d (diff)
make sure that /etc/rc.d exists before creating symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7417 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index c3fc01c7d..64c78de5e 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 \