1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

fix zjlab

This commit is contained in:
suyuan 2023-03-20 16:27:41 +08:00
parent 4af794be24
commit df7c9c169f
8 changed files with 14 additions and 14 deletions

View file

@ -3,8 +3,8 @@
. "$(readlink -f "$1")"
INTF=gt-${DEV}
[ -z "$LOCALIP" ] && LOCALIP="10.255.255.1"
[ -z "$BROADCASTIP" ] && BROADCASTIP="10.255.255.3"
[ -z "$LOCALIP" ] && LOCALIP="172.255.255.1"
[ -z "$BROADCASTIP" ] && BROADCASTIP="172.255.255.3"
while [ -z "$(ip link show $INTF 2>/dev/null)" ]; do
sleep 2
done