mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 14:54:43 +02:00
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
This commit is contained in:
parent
8b490e25bb
commit
3bc4300361
@ -51,6 +51,7 @@ install:
|
|||||||
@if [ -d $(TOPDIR)/files ]; then \
|
@if [ -d $(TOPDIR)/files ]; then \
|
||||||
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
|
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
|
||||||
fi
|
fi
|
||||||
|
@mkdir -p $(BUILD_DIR)/root/etc/rc.d
|
||||||
@( \
|
@( \
|
||||||
cd $(BUILD_DIR)/root; \
|
cd $(BUILD_DIR)/root; \
|
||||||
for script in ./etc/init.d/*; do \
|
for script in ./etc/init.d/*; do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user