This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,21 +0,0 @@
#!/usr/local/psa/admin/bin/php
<?php
require_once('sdk.php');
pm_Context::init('notifier');
if ($argc < 4) {
$cmd = reset($argv);
echo "Usage: {$cmd} <host> <ports> <timeout>\n";
echo "e.g. {$cmd} smtp.gmail.com 25,587 3\n";
exit(1);
}
$host = $argv[1];
$ports = explode(',', $argv[2]);
$timeout = (int)$argv[3];
$checker = new PleskExt\Notifier\MailPorts\Checker($host, $ports, $timeout);
$list = $checker->run()->detectUnavailablePorts();
echo implode(',', $list) . "\n";
exit(0);

View File

@@ -1,4 +0,0 @@
#!/bin/bash
### Copyright 1999-2024. WebPros International GmbH. All rights reserved.
! rpm -q gpg-pubkey-1bb943db || rpm -q gpg-pubkey-c74cd1d8 || rpm --import "$1"