aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-18 13:09:17 +0000
committerJohn Crispin <john@openwrt.org>2014-08-18 13:09:17 +0000
commit562d9f958290acd4323b24fbecfec43514b392e9 (patch)
treec1f25b964ce0560d7aa4842fa4de4f560ad374f5 /package/base-files/files/etc/init.d
parent2c6768219221954c731b14f43f57840a96002a03 (diff)
downloadupstream-562d9f958290acd4323b24fbecfec43514b392e9.tar.gz
upstream-562d9f958290acd4323b24fbecfec43514b392e9.tar.bz2
upstream-562d9f958290acd4323b24fbecfec43514b392e9.zip
base-files: add a hardware detection layer
this allows targets to use the new uci-default helper which will generate a file called /etc/board.json. a tool called /bin/config_generate can then be used to generate the default uci settings. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42185
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index b1272f401c..f10db1344f 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -46,6 +46,7 @@ boot() {
}
rm -f /tmp/wireless.tmp
+ /bin/board_detect
uci_apply_defaults
# temporary hack until configd exists