예제 #1
0
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"])) {
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
//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

if(isset($_GET["UpdateUtilitySource"])){UpdateUtilitySource();exit;}

//stunnel
if(isset($_GET["stunnel-ini-status"])){STUNNEL_INI_STATUS();exit;}