Beispiel #1
0
     $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();
     $conf[] = ufdbcat();
     $conf[] = HyperCacheWeb();
     $conf[] = postgres();
     $conf[] = squid_tail();
     $conf[] = iptables_transparent();
     if (is_file($cachefile)) {
         @unlink($cachefile);
     }
     @file_put_contents($cachefile, @implode("\n", $conf));
     @chmod($cachefile, 0755);
     echo @implode("\n", $conf);
     die;
 }
 if ($argv[1] == "--hotspot") {
     $conf[] = hotspot_web();
     $conf[] = hotspot_fw();
     echo @implode("\n", $conf) . "\n";
     die;
Beispiel #2
0
    syncthing();
    exit;
}
if ($argv[1] == "--hypercache-web") {
    $GLOBALS["OUTPUT"] = true;
    hypercache_http();
    exit;
}
if ($argv[1] == "--not-shutdown") {
    $GLOBALS["OUTPUT"] = true;
    not_shutdown();
    exit;
}
if ($argv[1] == "--postgres") {
    $GLOBALS["OUTPUT"] = true;
    postgres();
    exit;
}
if ($argv[1] == "--squid-tail") {
    $GLOBALS["OUTPUT"] = true;
    squid_tail();
    exit;
}
if ($argv[1] == "--hypercache-tail") {
    $GLOBALS["OUTPUT"] = true;
    hypercache_tail();
    exit;
}
if ($argv[1] == "--ldap-client") {
    $GLOBALS["OUTPUT"] = true;
    ldap_client();