From: Felix Fietkau Date: Thu, 31 May 2007 12:05:37 +0000 (+0000) Subject: make sure that /etc/rc.d exists before creating symlinks X-Git-Tag: reboot~29101 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fjogo.git;a=commitdiff_plain;h=b22491e0f809984097ae2ddf0bba980bb37d354a make sure that /etc/rc.d exists before creating symlinks SVN-Revision: 7417 --- 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 \