This commit is contained in:
fred 2023-05-06 04:09:08 +02:00
parent e59eb98d31
commit 3b4d24ba64
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
. "${MY_PATH}/tools/my.sh"
PORT=12345
[[ ${zIP} ]] && PORT=45780
YOU=$(myIpfsApi); ## API of $USER running ipfs
echo "YOU=$YOU"
@ -62,7 +61,7 @@ while true; do
start=`date +%s`
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
[[ ${zIP} ]] && PORT=45780
# ZIP
if [[ ${zIP} ]]; then
PORT=$((PORT+1)) && [ ${PORT} -ge 45782 ] && PORT=45780 ## yunohost : OPEN FIREWALL 1234 12345 45780 45781