add gateway type

This commit is contained in:
Ray Ozzie 2016-04-16 15:28:59 -07:00
parent 7d2c4ae000
commit 5cb1120bbf

2
run.sh
View File

@ -185,7 +185,7 @@ elif [[ $GW_TYPE == "linklabs-dev" ]]; then
gpio -1 write 29 1 gpio -1 write 29 1
sleep 0.1 sleep 0.1
gpio -1 write 29 0 gpio -1 write 29 0
sleep 0.1 sleep 0.1
else else
echo "ERROR: unrecognized GW_TYPE=$GW_TYPE" echo "ERROR: unrecognized GW_TYPE=$GW_TYPE"
echo "See https://github.com/rayozzie/ttn-resin-gateway-rpi/blob/master/README.md" echo "See https://github.com/rayozzie/ttn-resin-gateway-rpi/blob/master/README.md"