fix module autoload option
SVN-Revision: 5201
This commit is contained in:
parent
4664a13c59
commit
f1a497259b
1 changed files with 5 additions and 1 deletions
|
@ -70,7 +70,11 @@ define ModuleAutoLoad
|
||||||
export modules=; \
|
export modules=; \
|
||||||
add_module() { \
|
add_module() { \
|
||||||
mkdir -p $(2)/etc/modules.d; \
|
mkdir -p $(2)/etc/modules.d; \
|
||||||
echo "$$$$$$$$2" > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
|
( \
|
||||||
|
for mod in $$$$$$$$2; do \
|
||||||
|
getvar mod; \
|
||||||
|
done \
|
||||||
|
) > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
|
||||||
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
|
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
|
||||||
}; \
|
}; \
|
||||||
$(3) \
|
$(3) \
|
||||||
|
|
Loading…
Reference in a new issue