Пример #1
0
}
if (isset($_GET["mailman-delete"])) {
    MailManDelete();
    exit;
}
if (isset($_GET["MailManSaveGlobalSettings"])) {
    MailManSync();
    exit;
}
//DHCPD
if (isset($_GET["restart-dhcpd"])) {
    RestartDHCPDService();
    exit;
}
if (isset($_GET["MySqlPerf"])) {
    MySqlPerf();
    exit;
}
if (isset($_GET["mysql-audit"])) {
    MysqlAudit();
    exit;
}
if (isset($_GET["RestartDaemon"])) {
    RestartDaemon();
    exit;
}
if (isset($_GET["restart-apache-no-timeout"])) {
    RestartApacheNow();
    exit;
}
//network
Пример #2
0
//mailman
if(isset($_GET["syncro-mailman"])){MailManSync();exit;}
if(isset($_GET["restart-mailman"])){RestartMailManService();exit;}
if(isset($_GET["MailMan-List"])){MailManList();exit;}
if(isset($_GET["mailman-delete"])){MailManDelete();exit;}
if(isset($_GET["MailManSaveGlobalSettings"])){MailManSync();exit;}

//DHCPD
if(isset($_GET["restart-dhcpd"])){RestartDHCPDService();exit;}
if(isset($_GET["apply-dhcpd"])){ApplyDHCPDService();exit;}
if(isset($_GET["apply-bind"])){ApplyBINDService();exit;}
if(isset($_GET["dhcpd-status"])){dhcp_status();exit;}



if(isset($_GET["MySqlPerf"])){MySqlPerf();exit;}
if(isset($_GET["mysql-audit"])){MysqlAudit();exit;}
if(isset($_GET["RestartDaemon"])){RestartDaemon();exit;}
if(isset($_GET["restart-apache-no-timeout"])){RestartApacheNow();exit;}

//network
if(isset($_GET["SaveNic"])){Reconfigure_nic();exit;}
if(isset($_GET["nic-add-route"])){Reconfigure_routes();exit;}


if(isset($_GET["dnslist"])){DNS_LIST();exit;}
if(isset($_GET["ChangeHostName"])){ChangeHostName();exit;}
if(isset($_GET["hostToIp"])){hostToIp();exit;}