mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-02 20:28:53 +00: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
SVN-Revision: 21633
This commit is contained in:
parent
50a5ef1200
commit
abb91e135f
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
do_adm5120() {
|
||||||
|
. /lib/adm5120.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
boot_hook_add preinit_main do_adm5120
|
Loading…
x
Reference in New Issue
Block a user