system: improve system name detection
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 10:51:52 +0000 (11:51 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 11:19:36 +0000 (12:19 +0100)
commit510c2ddc147649811d39c6ba3758b768cfab7b6d
tree13a96eeccf43ec4f2e225e879c00933c742ed368
parente10fca6b88a8b57fe5a9e80dfd941ae6d98cb970
system: improve system name detection

Skip entries like "Processor: 0" which are common on x86, otherwise
an "ubus call system board" will just return "system: 0".

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