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
master
Felix Fietkau 2007-05-31 12:05:37 +00:00
parent 8edf586158
commit 9e22d8e89c
1 changed files with 1 additions and 0 deletions

View File

@ -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 \