mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 12:45:33 +02:00
adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21633 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dda404c87b
commit
f8eb227313
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_adm5120() {
|
||||
. /lib/adm5120.sh
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_adm5120
|
Loading…
Reference in New Issue
Block a user