mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-18 11:13:53 +08:00
update
This commit is contained in:
1 parent
44da1ea77d
commit
b3dde11e07
1 file changed
+1
-1
+1
-1
@@ -253,7 +253,7 @@ main(){
|
||||
*)
|
||||
if [ $CONFIG ] && [ $(grep -i "Endpoint" $CONFIG|awk '{print $3}') != $endpoint ]; then
|
||||
echo "set config";
|
||||
sed -i -r 's/Endpoint.*/Endpoint = '$endpoint'/i' $CONFIG;
|
||||
sed -i -r s/Endpoint.*/Endpoint = $endpoint/i $CONFIG;
|
||||
fi;
|
||||
if [ $HOST ]; then
|
||||
json=$(curl -ksSf "https://$HOST/api/wireguard/client/getClient/$UUID" -H "Authorization: Basic $BASIC") 2>&1;
|
||||
|
||||
Reference in new issue
Block a user