Example #1
0
}
if ($argv[1] == "--apache") {
    apache();
    exit;
}
if ($argv[1] == "--cntlm") {
    cntlm();
    cntlm_parent();
    exit;
}
if ($argv[1] == "--postfix") {
    postfix();
    exit;
}
if ($argv[1] == "--auth-tail") {
    auth_tail();
    exit;
}
if ($argv[1] == "--roundcube") {
    roundcube_http();
    exit;
}
if ($argv[1] == "--spawnfcgi") {
    spawnfcgi();
    exit;
}
if ($argv[1] == "--fetchmail") {
    fetchmail();
    exit;
}
if ($argv[1] == "--pdns") {
Example #2
0
if($argv[1]=="--vnstat"){echo "\n".vnstat();exit;}
if($argv[1]=="--munin"){echo "\n".munin();exit;}
if($argv[1]=="--autofs"){echo "\n".autofs();exit;}
if($argv[1]=="--greyhole"){echo "\n".greyhole();exit;}
if($argv[1]=="--amavis-watchdog"){echo "\n".AmavisWatchdog();exit;}
if($argv[1]=="--dnsmasq"){echo "\n".dnsmasq();exit;}
if($argv[1]=="--iscsi"){echo "\n".iscsi();exit;}
if($argv[1]=="--yorel"){echo "\n".watchdog_yorel();exit;}
if($argv[1]=="--watchdog-service"){echo "\n".WATCHDOG($argv[2],$argv[3]);exit;}
if($argv[1]=="--postfwd2"){echo "\n".postfwd2();exit;}
if($argv[1]=="--zarafa-watchdog"){zarafa_watchdog();exit;}
if($argv[1]=="--vps"){echo vps_servers();exit;}
if($argv[1]=="--crossroads-multiple"){echo crossroads_multiple();exit;}
if($argv[1]=="--smartd"){echo "\n".smartd();exit;}
if($argv[1]=="--watchdog-me"){echo watchdog_me();die();}
if($argv[1]=="--auth-tail"){echo auth_tail();exit;}
if($argv[1]=="--snort"){echo snort();exit;}
if($argv[1]=="--xload"){echo xLoadAvg();$GLOBALS["VERBOSE"]=true;exit;}
if($argv[1]=="--greyhole-watchdog"){greyhole_watchdog();exit;}
if($argv[1]=="--greensql"){echo greensql();exit;}




if($argv[1]=="--functions"){
	$arr = get_defined_functions();
	print_r($arr);
	die();
}

Example #3
0
    exit;
}
if ($argv[1] == "--crossroads-multiple") {
    echo crossroads_multiple();
    exit;
}
if ($argv[1] == "--smartd") {
    echo "\n" . smartd();
    exit;
}
if ($argv[1] == "--watchdog-me") {
    echo watchdog_me();
    die;
}
if ($argv[1] == "--auth-tail") {
    echo auth_tail();
    exit;
}
if ($argv[1] == "--snort") {
    echo snort();
    exit;
}
if ($argv[1] == "--xload") {
    echo xLoadAvg();
    $GLOBALS["VERBOSE"] = true;
    exit;
}
if ($argv[1] == "--greyhole-watchdog") {
    greyhole_watchdog();
    exit;
}