Don't force check for GW_TYPE

This commit is contained in:
jpmeijers 2017-03-05 00:30:06 +01:00
parent 8511a94b25
commit 4ce4c62afe

5
run.py
View File

@ -45,11 +45,6 @@ print ("*******************")
print ("*** Configuration:") print ("*** Configuration:")
print ("*******************") print ("*******************")
if os.environ.get("GW_TYPE")==None:
print ("ERROR: GW_TYPE required")
print ("See https://github.com/rayozzie/ttn-resin-gateway-rpi/blob/master/README.md")
sys.exit(0)
if os.environ.get("GW_ID")==None: if os.environ.get("GW_ID")==None:
print ("ERROR: GW_ID required") print ("ERROR: GW_ID required")
print ("See https://www.thethingsnetwork.org/docs/gateways/registration.html#via-gateway-connector") print ("See https://www.thethingsnetwork.org/docs/gateways/registration.html#via-gateway-connector")