warp registration delete before off

This commit is contained in:
mercury
2024-10-25 17:11:46 +04:00
parent e06544b00f
commit 3cc16469ff
+1
View File
@@ -4656,6 +4656,7 @@ DNS-over-HTTPS with IP:
{
$p = $this->getPacConf();
if (empty($p['warpoff'])) {
$this->ssh('warp-cli --accept-tos registration delete', 'wp');
$this->ssh('pkill warp-svc', 'wp');
$p['warpoff'] = 1;
} else {