示例#1
0
if (isset($_GET["iptables-rotator-show"])) {
    IPTABLES_CHAINES_ROTATOR_SHOW();
    exit;
}
//apt-mirror
if (isset($_GET["apt-mirror-ini-status"])) {
    APT_MIRROR_STATUS();
    exit;
}
if (isset($_GET["apt-mirror-schedule"])) {
    APT_MIRROR_SCHEDULE();
    exit;
}
//qos
if (isset($_GET["qos-iptables"])) {
    qos_iptables();
    exit;
}
if (isset($_GET["qos-compile"])) {
    qos_compile();
    exit;
}
//ddclient
if (isset($_GET["ddclient"])) {
    DDCLIENT_RESTART();
    exit;
}
//audtitd
if (isset($_GET["auditd-rebuild"])) {
    AUDITD_REBUILD();
    exit;
示例#2
0
文件: cmd.php 项目: rsd/artica-1.5
if(isset($_GET["move-ldap-ou"])){ORGANISATION_RENAME();exit;}

//iptables
if(isset($_GET["iptables-bridge-rules"])){IPTABLES_CHAINES_BRIDGE_RULES();exit;}
if(isset($_GET["virtual-ip-build-bridges"])){TCP_VIRTUALS_BUILD_BRIDGES();exit;}
if(isset($_GET["iptables-rotator"])){IPTABLES_CHAINES_ROTATOR();exit;}
if(isset($_GET["iptables-rotator-show"])){IPTABLES_CHAINES_ROTATOR_SHOW();exit;}



//apt-mirror
if(isset($_GET["apt-mirror-ini-status"])){APT_MIRROR_STATUS();exit;}
if(isset($_GET["apt-mirror-schedule"])){APT_MIRROR_SCHEDULE();exit;}

//qos
if(isset($_GET["qos-iptables"])){qos_iptables();exit;}
if(isset($_GET["qos-compile"])){qos_compile();exit;}



//ddclient
if(isset($_GET["ddclient"])){DDCLIENT_RESTART();exit;}


//audtitd
if(isset($_GET["auditd-rebuild"])){AUDITD_REBUILD();exit;}
if(isset($_GET["auditd-ini-status"])){AUDITD_STATUS();exit;}
if(isset($_GET["auditd-config"])){AUDITD_CONFIG();exit;}
if(isset($_GET["auditd-apply"])){AUDITD_SAVE_CONFIG();exit;}
if(isset($_GET["auditd-force"])){AUDITD_FORCE();exit;}