mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-28 17:42:28 +00: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
SVN-Revision: 21635
This commit is contained in:
parent
6bccc41f6c
commit
ba2b75f710
@ -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