From: nbd Date: Thu, 31 May 2007 12:05:37 +0000 (+0000) Subject: make sure that /etc/rc.d exists before creating symlinks X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=3bc4300361087b128cd894f4ad1c93bfa760aab0;p=openwrt.git 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 --- 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 \