Skip to content

Instantly share code, notes, and snippets.

@CODeRUS
Created March 1, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CODeRUS/178db48e630bbe160943318cbbfbae33 to your computer and use it in GitHub Desktop.
Save CODeRUS/178db48e630bbe160943318cbbfbae33 to your computer and use it in GitHub Desktop.
/usr/bin/txeireader
#!/bin/sh
if [ "$1" = "--serial" ]; then
echo "JT1501-32-xxxxxxxxx"
fi
if [ "$1" = "--wlan" ]; then
echo "xx:xx:xx:xx:xx:xx"
fi
if [ "$1" = "--bt" ]; then
echo "xx:xx:xx:xx:xx:xx"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment