exit; } if ($argv[1] == "--memcache") { memcached(); exit; } if ($argv[1] == "--nginx") { nginx(); exit; } if ($argv[1] == "--dhcpd") { dhcpd(); exit; } if ($argv[1] == "--haarp") { haarp(); exit; } if ($argv[1] == "--mysql") { mysqlInit(); exit; } if ($argv[1] == "--ubuntu") { CleanUbuntu(); exit; } if ($argv[1] == "--squidguard-http") { squidguard_http(); exit; } if ($argv[1] == "--apache") {
if ($unix->file_time_min($TimeFile) > 5) { $php = $unix->LOCATE_PHP5_BIN(); $nohup = $unix->find_program("nohup"); shell_exec2("{$nohup} {$php} /usr/share/artica-postfix/exec.squid.run.schedules.php >/dev/null 2>&1 &"); } } $conf[] = squid_master_status(true); $conf[] = kav4Proxy_status(); $conf[] = proxy_pac_status(); $conf[] = squidguardweb(); $conf[] = ufdbguardd(); $conf[] = freshclam(); $conf[] = articadb(); $conf[] = winbindd(); $conf[] = squid_db(); $conf[] = haarp(); $conf[] = nginx(); $conf[] = ftp_proxy(); $conf[] = c_icap_master_status(); $conf[] = cntlm(); $conf[] = cntlm_parent(); $conf[] = rdpproxy_authhook(); $conf[] = rdpproxy(); $conf[] = clamd(); $conf[] = dnsmasq(); $conf[] = ufdbguardd_client(); $conf[] = ucarp(); $conf[] = hotspot_web(); $conf[] = hotspot_fw(); $conf[] = squid_nat(); $conf[] = ziproxy();