コード例 #1
0
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->ipblocks()\n";
}
ipblocks();
if (system_is_overloaded(basename(__FILE__))) {
    system_admin_events("OVERLOADED system: {$GLOBALS["SYSTEM_INTERNAL_LOAD"]}, aborting", __FUNCTION__, __FILE__, __LINE__, "system");
    die;
}
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->clamd_mem()\n";
}
clamd_mem();
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->crossroads()\n";
}
crossroads();
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->dhcpd_logs()\n";
}
dhcpd_logs();
if ($GLOBALS["VERBOSE"]) {
    echo __LINE__ . " TRUE\n";
}
$EnableArticaMetaClient = intval(@file_get_contents("/etc/artica-postfix/settings/Daemons/EnableArticaMetaClient"));
if ($GLOBALS["VERBOSE"]) {
    echo __LINE__ . " TRUE\n";
}
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->mysql_admin_events_check()\n";
}
mysql_admin_events_check();
コード例 #2
0
ファイル: exec.status.php プロジェクト: rsd/artica-1.5
if($argv[1]=="--ocsagent"){echo "\n".ocs_agent();exit;}
if($argv[1]=="--openssh"){echo "\n".openssh();exit;}
if($argv[1]=="--gluster"){echo "\n".gluster();exit;}
if($argv[1]=="--auditd"){echo "\n".auditd();exit;}
if($argv[1]=="--squidguard-http"){echo "\n".squidguardweb();exit;}
if($argv[1]=="--opendkim"){echo "\n".opendkim();exit;}
if($argv[1]=="--ufdbguardd"){echo "\n".ufdbguardd();exit;}
if($argv[1]=="--ufdb-tail"){echo "\n".ufdbguardd_tail();exit;}
if($argv[1]=="--squidguard-tail"){echo "\n".squidguard_logger();exit;}
if($argv[1]=="--dkim-milter"){echo "\n".milter_dkim();exit;}
if($argv[1]=="--dropbox"){echo "\n".dropbox();exit;}
if($argv[1]=="--artica-policy"){echo "\n".artica_policy();exit;}
if($argv[1]=="--vboxwebsrv"){echo "\n".virtualbox_webserv();exit;}
if($argv[1]=="--tftpd"){echo "\n".tftpd();exit;}
if($argv[1]=="--vdi"){echo "\n".virtualbox_webserv()."\n".tftpd()."\n".dhcpd_server();exit;}
if($argv[1]=="--crossroads"){echo "\n".crossroads();exit;}
if($argv[1]=="--artica-status"){echo "\n".artica_status();exit;}
if($argv[1]=="--artica-executor"){echo "\n".artica_executor();exit;}
if($argv[1]=="--artica-background"){echo "\n".artica_background();exit;}
if($argv[1]=="--pptpd"){echo "\n".pptpd();exit;}
if($argv[1]=="--pptpd-clients"){echo "\n".pptp_clients();exit;}
if($argv[1]=="--bandwith"){echo "\n".bandwith();exit;}
if($argv[1]=="--apt-mirror"){echo "\n".apt_mirror();exit;}
if($argv[1]=="--squidclamav-tail"){echo "\n".squid_clamav_tail();exit;}
if($argv[1]=="--ddclient"){echo "\n".ddclient();exit;}
if($argv[1]=="--cluebringer"){echo "\n".cluebringer();exit;}
if($argv[1]=="--apachesrc"){echo "\n".apachesrc();exit;}
if($argv[1]=="--assp"){echo "\n".assp();exit;}
if($argv[1]=="--freewebs"){echo "\n".apachesrc()."\n".pure_ftpd();exit;}
if($argv[1]=="--openvpn"){echo "\n".openvpn();exit;}
if($argv[1]=="--vboxguest"){echo "\n".vboxguest();exit;}
コード例 #3
0
    exit;
}
if ($argv[1] == "--vboxwebsrv") {
    echo "\n" . virtualbox_webserv();
    exit;
}
if ($argv[1] == "--tftpd") {
    echo "\n" . tftpd();
    exit;
}
if ($argv[1] == "--vdi") {
    echo "\n" . virtualbox_webserv() . "\n" . tftpd() . "\n" . dhcpd_server();
    exit;
}
if ($argv[1] == "--crossroads") {
    echo "\n" . crossroads();
    exit;
}
if ($argv[1] == "--artica-status") {
    echo "\n" . artica_status();
    exit;
}
if ($argv[1] == "--artica-executor") {
    echo "\n" . artica_executor();
    exit;
}
if ($argv[1] == "--artica-background") {
    echo "\n" . artica_background();
    exit;
}
if ($argv[1] == "--pptpd") {