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

SVN-Revision: 7417
v19.07.3_mercusys_ac12_duma
Felix Fietkau 17 years ago
parent 3e8bdad848
commit b22491e0f8

@ -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 \

Loading…
Cancel
Save