[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This cause...
authorDaniel Dickinson <daniel@cshore.neomailbox.net>
Thu, 7 Jul 2011 02:52:02 +0000 (02:52 +0000)
committerDaniel Dickinson <daniel@cshore.neomailbox.net>
Thu, 7 Jul 2011 02:52:02 +0000 (02:52 +0000)
commit79a8d3032519ef624bc6614e30a3bf40b5dc931d
tree1e2ff83a32f77845080fa9eb5babd5ebc490579a
parentaa43abb8d10f5cb52d1607415cf2be30f888a19c
[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit.  This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout.  Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/etc/preinit
package/base-files/files/lib/preinit/02_default_set_state [new file with mode: 0644]