mirror of
https://github.com/darkclip/netlist.git
synced 2026-12-06 09:38:49 +08:00
update
This commit is contained in:
1 parent
e11f0d6cb8
commit
34c57fc295
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@ loss=$(get_ping_loss $watch);
|
|||||||
while [ $loss -gt 35 ]; do
|
while [ $loss -gt 35 ]; do
|
||||||
cfip=$(cf_v4);
|
cfip=$(cf_v4);
|
||||||
echo "changing $dev endpoint to $cfip";
|
echo "changing $dev endpoint to $cfip";
|
||||||
wg set $dev peer "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=" endpoint "$cfip:4500";
|
wg set $dev peer "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=" endpoint "$cfip:4500" && \
|
||||||
pfSsh.php playback chgwgpeer $conf $cfip 4500 || true;
|
pfSsh.php playback chgwgpeer $conf $cfip 4500 || true;
|
||||||
sleep 5;
|
sleep 5;
|
||||||
loss=$(get_ping_loss $watch);
|
loss=$(get_ping_loss $watch);
|
||||||
|
|||||||
Reference in new issue
Block a user