[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This cause...
authorDaniel Dickinson <crazycshore@gmail.com>
Thu, 7 Jul 2011 02:52:02 +0000 (02:52 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Thu, 7 Jul 2011 02:52:02 +0000 (02:52 +0000)
commitcb2dbde9834176e4b536f63578d6e1dedd88701f
tree1e2ff83a32f77845080fa9eb5babd5ebc490579a
parent627fcef6f19dc9f43ef9d673eae247451880d871
[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

SVN-Revision: 27501
package/base-files/files/etc/preinit
package/base-files/files/lib/preinit/02_default_set_state [new file with mode: 0644]