aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/base-files/lib/sunxi.sh
blob: dbb27feea0ca13ebf1d00b23ca5d5f9e98722252 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

sunxi_board_name() {
	local name

	[ -f /tmp/sysinfo/board_name ] && name="$(cat /tmp/sysinfo/board_name)"
	[ -z "$name" ] && name="unknown"

	echo "$name"
}