Example #1
0
}
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;
}
//WIFI
Example #2
0
//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;}



//WIFI
if(isset($_GET["iwlist"])){iwlist();exit;}
if(isset($_GET["start-wifi"])){start_wifi();exit;}

//imapSYnc

if(isset($_GET["imapsync-events"])){imapsync_events();exit;}