Skip to content
Permalink
Browse files

Add HWID for Tinker Board / S

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 12, 2019
1 parent 261c475 commit 2866e8fecd7c005f84b720ab219a1f8ce65e741e
Showing with 3 additions and 0 deletions.
  1. +3 −0 info.sh
@@ -126,6 +126,9 @@ elif [[ $COMMAND == "hwid" ]]; then
# NANOPI M4
elif (( $platform >= 68 )) && (( $platform <= 69 )); then
cat /proc/cpuinfo | grep Serial | printf '%s' $(cut -n -d ' ' -f 2) | md5sum | cut -d"-" -f1 -
# Tinker Board / S
elif (( $platform == 100 )); then
/sbin/ifconfig $(/usr/local/bin/nems-info nic) | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' | md5sum | cut -d"-" -f1 -
fi

elif [[ $COMMAND == "speedtest" ]]; then

0 comments on commit 2866e8f

Please sign in to comment.
You can’t perform that action at this time.