aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/preinit
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2011-07-07 02:52:02 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2011-07-07 02:52:02 +0000
commit79a8d3032519ef624bc6614e30a3bf40b5dc931d (patch)
tree1e2ff83a32f77845080fa9eb5babd5ebc490579a /package/base-files/files/etc/preinit
parentaa43abb8d10f5cb52d1607415cf2be30f888a19c (diff)
downloadupstream-79a8d3032519ef624bc6614e30a3bf40b5dc931d.tar.gz
upstream-79a8d3032519ef624bc6614e30a3bf40b5dc931d.tar.bz2
upstream-79a8d3032519ef624bc6614e30a3bf40b5dc931d.zip
[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
Diffstat (limited to 'package/base-files/files/etc/preinit')
-rwxr-xr-xpackage/base-files/files/etc/preinit1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index 9e629ab814..6c6e3b1fe1 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -3,7 +3,6 @@
# Copyright (C) 2010 Vertical Communications
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-. /etc/diag.sh
pi_ifname=
pi_ip=192.168.1.1