1
0

sunxi.sh 169 B

12345678910
  1. #!/bin/sh
  2. sunxi_board_name() {
  3. local name
  4. [ -f /tmp/sysinfo/board_name ] && name="$(cat /tmp/sysinfo/board_name)"
  5. [ -z "$name" ] && name="unknown"
  6. echo "$name"
  7. }