diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-31 12:05:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-31 12:05:37 +0000 |
commit | b22491e0f809984097ae2ddf0bba980bb37d354a (patch) | |
tree | c564d6b7ab3c0efef21d32b89c5f67dfe0bbd256 | |
parent | 3e8bdad848c5cc42ba4f91079ea4fa8d053151a5 (diff) | |
download | upstream-b22491e0f809984097ae2ddf0bba980bb37d354a.tar.gz upstream-b22491e0f809984097ae2ddf0bba980bb37d354a.tar.bz2 upstream-b22491e0f809984097ae2ddf0bba980bb37d354a.zip |
make sure that /etc/rc.d exists before creating symlinks
SVN-Revision: 7417
-rw-r--r-- | package/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |