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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Daniel Dickinson 2010-05-30 03:20:49 +00:00
parent f165cba5c1
commit 9de82160b1
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
do_ar71xx() {
. /lib/ar71xx.sh
}
boot_hook_add preinit_main do_ar71xx