mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 14:44:36 +03:00
ramips: 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 ramips.sh was sourced
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d1d038f985
commit
893b30dab6
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_ramips() {
|
||||
. /lib/ramips.sh
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_ramips
|
Loading…
Reference in New Issue
Block a user