mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Update v-update-sys-ip
This commit is contained in:
parent
1f2fddf707
commit
f194eb8571
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ for ip in $ips; do
|
|||
done
|
||||
|
||||
# Updating NAT
|
||||
pub_ip=$(curl -s vestacp.com/what-is-my-ip/)
|
||||
pub_ip=$(curl -s https://scripts.myvestacp.com/ip.php)
|
||||
if [ ! -e "$VESTA/data/ips/$pub_ip" ]; then
|
||||
if [ -z "$(grep -R "$pub_ip" $VESTA/data/ips/)" ]; then
|
||||
ip=$(ls -t $VESTA/data/ips/ |head -n1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue