From ca41a2ddbfa11ec8cc1e8e2c5e3fdc2d71d21c81 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 30 May 2023 18:52:53 +0200 Subject: [PATCH] indicate 33102 https proxy url path --- .gitignore | 1 + G1BILLETS.sh | 4 ++-- ♥Box | 0 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ♥Box diff --git a/.gitignore b/.gitignore index 3f4fec9..5b888c1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ tmp/ _images/ DICE + diff --git a/G1BILLETS.sh b/G1BILLETS.sh index 6a02ba4..02cd2e0 100755 --- a/G1BILLETS.sh +++ b/G1BILLETS.sh @@ -150,7 +150,7 @@ else ##################################################################### myIP=$(hostname -I | awk '{print $1}' | head -n 1) isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") - isBOX=$(cat ~/.zen/♥Box) + isBOX=$(cat ~${MY_PATH}/♥Box) ## WHERE DO CLIENT WILL GET FILE if [[ $isLAN ]]; then @@ -159,7 +159,7 @@ else HNAME="http://$(hostname -I | awk '{print $1}' | head -n 1)" fi RNAME="$HNAME:33102" - [[ $isBOX ]] && RNAME="$isBOX" + [[ $isBOX != "" ]] && RNAME="$isBOX" ## AVAILABLE STYLES : CREATING SELECT sytle=($(find ${MY_PATH}/${IMAGES}/* -type d | sort | rev | cut -d '/' -f 1 | rev)) diff --git a/♥Box b/♥Box new file mode 100644 index 0000000..e69de29