summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/02_default_set_state
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. ↵cshore2011-07-071-0/+7
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