This commit is contained in:
Nachuan Tang
2022-07-07 15:22:57 -05:00
parent 6431cb402e
commit 8ee9275b53
2 changed files with 1 additions and 10 deletions
-7
View File
@@ -1,7 +0,0 @@
# get self-host server ip
SERVERIP=x.useless.pw
$(which ifconfig > /dev/null 2>&1) && \
ip=$(ifconfig | grep -Po "10.0.0.[01][0-9]+")
[ "$ip" != "" ] && SERVERIP=10.0.0.100