Browse Source

make sure that /etc/rc.d exists before creating symlinks

SVN-Revision: 7417
Felix Fietkau 18 years ago
parent
commit
b22491e0f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/Makefile

+ 1 - 0
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 \