Fix bootstrap
This commit is contained in:
parent
9fe4341c97
commit
6422a6782d
|
@ -4,8 +4,8 @@
|
||||||
[[ $(basename "$PWD") == "astroport" ]] && echo "DO NOT EXECUTE THIS SCRIPT INSIDE ASTROPORT FOLDER!" && exit 1
|
[[ $(basename "$PWD") == "astroport" ]] && echo "DO NOT EXECUTE THIS SCRIPT INSIDE ASTROPORT FOLDER!" && exit 1
|
||||||
[[ -d astroport ]] && rm -rf astroport && echo "astroport folder has been deleted."
|
[[ -d astroport ]] && rm -rf astroport && echo "astroport folder has been deleted."
|
||||||
|
|
||||||
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000)
|
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000 2<&1)
|
||||||
if [[ $isp2plegal =~ "(?) open" ]]; then
|
if [[ "$isp2plegal" =~ "(?) open" ]]; then
|
||||||
isp2plegalbool=true
|
isp2plegalbool=true
|
||||||
giturl="http://192.168.9.19:3000"
|
giturl="http://192.168.9.19:3000"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue