Example #1
0
if (isset($_GET["syslog-client-mode"])) {
    syslog_client_mode();
    exit;
}
if (isset($_GET["IsUDPport"])) {
    IsUDPport();
    exit;
}
//PDNS
if (isset($_GET["pdns-restart"])) {
    POWERDNS_RESTART();
    exit;
}
//DNSMASQ
if (isset($_GET["LoaddnsmasqConf"])) {
    DNSMASQ_LOAD_CONF();
    exit;
}
if (isset($_GET["restart-dnsmasq"])) {
    DNSMASQ_RESTART();
    exit;
}
//iscsi
if (isset($_GET["iscsi-search"])) {
    iscsi_search();
    exit;
}
if (isset($_GET["restart-iscsi"])) {
    iscsi_restart();
    exit;
}
Example #2
0
if(isset($_GET["sarg-config"])){SARG_SAVE();exit;}
if(isset($_GET["sarg-run"])){SARG_EXEC();exit;}
if(isset($_GET["sarg-passwords"])){SARG_PASSWORDS();exit;}


//syslog
if(isset($_GET["syslog-master-mode"])){syslog_master_mode();exit;}
if(isset($_GET["syslog-client-mode"])){syslog_client_mode();exit;}
if(isset($_GET["IsUDPport"])){IsUDPport();exit;}

//PDNS
if(isset($_GET["pdns-restart"])){POWERDNS_RESTART();exit;}


//DNSMASQ
if(isset($_GET["LoaddnsmasqConf"])){DNSMASQ_LOAD_CONF();exit;}
if(isset($_GET["restart-dnsmasq"])){DNSMASQ_RESTART();exit;}


//iscsi
if(isset($_GET["iscsi-search"])){iscsi_search();exit;}
if(isset($_GET["restart-iscsi"])){iscsi_restart();exit;}
if(isset($_GET["iscsi-status"])){iscsi_status();exit;}
if(isset($_GET["reload-iscsi"])){iscsi_reload();exit;}
if(isset($_GET["iscsi-client"])){iscsi_client();exit;}
if(isset($_GET["iscsi-sessions"])){iscsi_client_sessions();exit;}




//UpdateUtility