system: attempt to parse /proc/device-tree/model
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 11:17:21 +0000 (12:17 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 11:42:09 +0000 (12:42 +0100)
commitc48b19bbe127551ffb2b6d02b33ef78865341cfc
tree016c9f91fa6a5d1322b3c226b27369d0a8c748a7
parent510c2ddc147649811d39c6ba3758b768cfab7b6d
system: attempt to parse /proc/device-tree/model

Fallback to /proc/device-tree/model if /tmp/sysinfo/model is not available.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
system.c