From 3bc4300361087b128cd894f4ad1c93bfa760aab0 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 31 May 2007 12:05:37 +0000 Subject: 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 --- package/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'package/Makefile') diff --git a/package/Makefile b/package/Makefile index c3fc01c7d..64c78de5e 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 \ -- cgit v1.2.3