45780 45781 response port only in DEMO zip mode
This commit is contained in:
parent
9bd0ed4094
commit
d7fab30ab7
2
12345.sh
2
12345.sh
|
@ -62,7 +62,7 @@ while true; do
|
||||||
|
|
||||||
start=`date +%s`
|
start=`date +%s`
|
||||||
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
|
||||||
[[ $(zIp) ]] && PORT=45780
|
[[ $(zIp) ]] && PORT=45779
|
||||||
# ZIP
|
# ZIP
|
||||||
if [[ $(zIp) ]]; then
|
if [[ $(zIp) ]]; then
|
||||||
PORT=$((PORT+1)) && [ ${PORT} -ge 45782 ] && PORT=45780 ## yunohost : OPEN FIREWALL 1234 12345 45780 45781
|
PORT=$((PORT+1)) && [ ${PORT} -ge 45782 ] && PORT=45780 ## yunohost : OPEN FIREWALL 1234 12345 45780 45781
|
||||||
|
|
Loading…
Reference in New Issue