mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 17:47:00 +00:00
ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
SVN-Revision: 21634
This commit is contained in:
parent
abb91e135f
commit
6bccc41f6c
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
do_ar71xx() {
|
||||||
|
. /lib/ar71xx.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
boot_hook_add preinit_main do_ar71xx
|
Loading…
x
Reference in New Issue
Block a user