Fix minor bugs

This commit is contained in:
Jonas Nick 2018-12-10 22:54:24 +00:00
parent 25d52c4d10
commit 5b63e7eb27
2 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
SECRETSFILE=secrets/secrets.nix SECRETSFILE=secrets/secrets.nix
mkdir -p secrets
if [ -e "$SECRETSFILE" ]; then if [ -e "$SECRETSFILE" ]; then
echo $SECRETSFILE already exists echo $SECRETSFILE already exists

View File

@ -17,12 +17,6 @@ if [ -e "$NGINX_ONION_FILE" ]; then
echo NGINX_ONION="$NGINX_ONION" echo NGINX_ONION="$NGINX_ONION"
fi fi
NGINX_ONION_FILE=/var/lib/tor/onion/nginx/hostname
if [ -e "$NGINX_ONION_FILE" ]; then
NGINX_ONION="$(cat $NGINX_ONION_FILE)"
echo NGINX_ONION="$NGINX_ONION"
fi
SPARKWALLET_ONION_FILE=/var/lib/tor/onion/spark-wallet/hostname SPARKWALLET_ONION_FILE=/var/lib/tor/onion/spark-wallet/hostname
if [ -e "$SPARKWALLET_ONION_FILE" ]; then if [ -e "$SPARKWALLET_ONION_FILE" ]; then
SPARKWALLET_ONION="$(cat $SPARKWALLET_ONION_FILE)" SPARKWALLET_ONION="$(cat $SPARKWALLET_ONION_FILE)"