aboutsummaryrefslogtreecommitdiffstats
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
commit9e22d8e89c6ba0e46013173b45e7bcef8d81ebaa (patch)
treeeba07c4fa0d61d6a49e3bec632a96806ad3f3ecf
parent8edf586158cfcb017011089d1be751d3278a66e5 (diff)
downloadupstream-9e22d8e89c6ba0e46013173b45e7bcef8d81ebaa.tar.gz
upstream-9e22d8e89c6ba0e46013173b45e7bcef8d81ebaa.tar.bz2
upstream-9e22d8e89c6ba0e46013173b45e7bcef8d81ebaa.zip
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 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 \