asdf
This commit is contained in:
parent
a15147b36f
commit
6973d25480
@ -12,13 +12,12 @@ VERSION="master"
|
|||||||
if [[ $1 != "" ]]; then VERSION=$1; fi
|
if [[ $1 != "" ]]; then VERSION=$1; fi
|
||||||
|
|
||||||
echo "The Things Network Gateway installer"
|
echo "The Things Network Gateway installer"
|
||||||
echo "Version $VERSION"
|
echo ""
|
||||||
|
|
||||||
# Retrieve gateway configuration for later
|
# Retrieve gateway configuration for later
|
||||||
echo "Configuring gateway:"
|
echo "Configuring gateway:"
|
||||||
|
|
||||||
if [ $GATEWAY_NAME == "" ];
|
if [[ $GATEWAY_NAME == "" ]]; then
|
||||||
then
|
|
||||||
echo "ERROR: NO GATEWAY_NAME FOUND IN ENVIRONMENT"
|
echo "ERROR: NO GATEWAY_NAME FOUND IN ENVIRONMENT"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -15,14 +15,14 @@ echo "The Things Network Gateway installer"
|
|||||||
echo "Version $VERSION"
|
echo "Version $VERSION"
|
||||||
|
|
||||||
# Retrieve gateway configuration for later
|
# Retrieve gateway configuration for later
|
||||||
echo "Configure your gateway:"
|
echo "Configuring gateway:"
|
||||||
printf " Descriptive name [ttn-ic880a]:"
|
|
||||||
read GATEWAY_NAME
|
|
||||||
if [ $GATEWAY_NAME == "" ];
|
if [ $GATEWAY_NAME == "" ];
|
||||||
then
|
then
|
||||||
echo "ERROR: NO GATEWAY SPECIFIED"
|
echo "ERROR: NO GATEWAY_NAME FOUND IN ENVIRONMENT"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo GATEWAY_NAME: $GATEWAY_NAME
|
||||||
|
|
||||||
printf " Contact email: "
|
printf " Contact email: "
|
||||||
read GATEWAY_EMAIL
|
read GATEWAY_EMAIL
|
||||||
|
Loading…
Reference in New Issue
Block a user