mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-12 19:04:20 +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
|
||||
cfip=$(cf_v4);
|
||||
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;
|
||||
sleep 5;
|
||||
loss=$(get_ping_loss $watch);
|
||||
|
||||
Reference in new issue
Block a user