Esempio n. 1
0
}
if (isset($_GET["cyr-restore-mailbox"])) {
    cyr_restore_mailbox();
    exit;
}
//WIFI
if (isset($_GET["wifi-ini-status"])) {
    WIFI_INI_STATUS();
    exit;
}
if (isset($_GET["wifi-connect-point"])) {
    WIFI_CONNECT_AP();
    exit;
}
if (isset($_GET["wifi-eth-status"])) {
    WIFI_ETH_STATUS();
    exit;
}
if (isset($_GET["wifi-eth-client-check"])) {
    WIFI_ETH_CHECK();
    exit;
}
//SQUID
if (isset($_GET["squid-status"])) {
    SQUID_STATUS();
    exit;
}
if (isset($_GET["squid-ini-status"])) {
    SQUID_INI_STATUS();
    exit;
}
Esempio n. 2
0

if(isset($_GET["emailing-remove-emailrelays"])){emailing_emailrelays_remove();exit;}

//restore

if(isset($_GET["cyr-restore"])){cyrus_restore_mount_dir();exit;}
if(isset($_GET["cyr-restore-container"])){cyr_restore_container();;exit;}
if(isset($_GET["cyr-restore-mailbox"])){cyr_restore_mailbox();;exit;}


//WIFI

if(isset($_GET["wifi-ini-status"])){WIFI_INI_STATUS();exit;}
if(isset($_GET["wifi-connect-point"])){WIFI_CONNECT_AP();exit;}
if(isset($_GET["wifi-eth-status"])){WIFI_ETH_STATUS();exit;}
if(isset($_GET["wifi-eth-client-check"])){WIFI_ETH_CHECK();exit;}



//openssh
if(isset($_GET["openssh-ini-status"])){SSHD_INI_STATUS();exit;}
if(isset($_GET["openssh-config"])){SSHD_GET_CONF();exit;}
if(isset($_GET["sshd-restart"])){SSHD_RESTART();exit;}
if(isset($_GET["ssh-keygen"])){SSHD_KEY_GEN();exit;}
if(isset($_GET["ssh-keygen-fingerprint"])){SSHD_KEY_FINGERPRINT();exit;}
if(isset($_GET["ssh-keygen-download"])){SSHD_KEY_DOWNLOAD_PUB();exit;}
if(isset($_GET["sshd-authorized-keys"])){SSHD_KEY_UPLOAD_PUB();exit;}

//SQUID