mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 18:59:44 +02:00
fix module autoload option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5201 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8b1c0ef4d5
commit
66dc49ab64
@ -70,7 +70,11 @@ define ModuleAutoLoad
|
||||
export modules=; \
|
||||
add_module() { \
|
||||
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)"; \
|
||||
}; \
|
||||
$(3) \
|
||||
|
Loading…
Reference in New Issue
Block a user