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" }