Skip to content
Permalink
Browse files

HWID for VIM3

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jul 1, 2019
1 parent 6a226f4 commit afbddbb2858f76ea3d7aa95f98496103c8117f36
Showing with 3 additions and 0 deletions.
  1. +3 −0 info.sh
@@ -138,6 +138,9 @@ elif [[ $COMMAND == "hwid" ]]; then
# NanoPi NEO Plus2
elif (( $platform == 69 )) || (( $platform == 70 )); then
/sbin/ifconfig $(/usr/local/bin/nems-info nic) | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' | md5sum | cut -d"-" -f1 -
# Khadas VIM3
elif (( $platform == 120 )) || (( $platform == 121 )); 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 afbddbb

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