From 10d8e39ab11befa8872b3d40d6e1876da467696a Mon Sep 17 00:00:00 2001 From: pixel5919 Date: Wed, 8 Jun 2016 10:54:39 -0700 Subject: [PATCH 1/2] Needed to get HPF_* variables --- scripts/deploy_beeswax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy_beeswax.sh b/scripts/deploy_beeswax.sh index 3a342d4e..06e301f0 100644 --- a/scripts/deploy_beeswax.sh +++ b/scripts/deploy_beeswax.sh @@ -44,7 +44,7 @@ make_configs() { wget $SERVER_URL/static/registration.txt -O registration.sh chmod 755 registration.sh # Note: this will export the HPF_* variables - ./registration.sh $SERVER_URL $DEPLOY_KEY "beeswax" + source ./registration.sh $SERVER_URL $DEPLOY_KEY "beeswax" cat > $INSTALL_PATH/$HONEYPOT_NAME/honeypot_config.json < Date: Wed, 8 Jun 2016 11:22:29 -0700 Subject: [PATCH 2/2] Foolishly got rid of a period that meant source --- scripts/deploy_beeswax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy_beeswax.sh b/scripts/deploy_beeswax.sh index 06e301f0..df264086 100644 --- a/scripts/deploy_beeswax.sh +++ b/scripts/deploy_beeswax.sh @@ -44,7 +44,7 @@ make_configs() { wget $SERVER_URL/static/registration.txt -O registration.sh chmod 755 registration.sh # Note: this will export the HPF_* variables - source ./registration.sh $SERVER_URL $DEPLOY_KEY "beeswax" + . ./registration.sh $SERVER_URL $DEPLOY_KEY "beeswax" cat > $INSTALL_PATH/$HONEYPOT_NAME/honeypot_config.json <