Beispiel #1
0
//network
if (isset($_GET["SaveNic"])) {
    Reconfigure_nic();
    exit;
}
if (isset($_GET["dnslist"])) {
    DNS_LIST();
    exit;
}
if (isset($_GET["ChangeHostName"])) {
    ChangeHostName();
    exit;
}
//WIFI
if (isset($_GET["iwlist"])) {
    iwlist();
    exit;
}
if (isset($_GET["start-wifi"])) {
    start_wifi();
    exit;
}
//imapSYnc
if (isset($_GET["imapsync-events"])) {
    imapsync_events();
    exit;
}
if (isset($_GET["imapsync-cron"])) {
    imapsync_cron();
    exit;
}
Beispiel #2
0
if(isset($_GET["RestartDaemon"])){RestartDaemon();exit;}
if(isset($_GET["restart-apache-no-timeout"])){RestartApacheNow();exit;}

//network
if(isset($_GET["SaveNic"])){Reconfigure_nic();exit;}
if(isset($_GET["nic-add-route"])){Reconfigure_routes();exit;}


if(isset($_GET["dnslist"])){DNS_LIST();exit;}
if(isset($_GET["ChangeHostName"])){ChangeHostName();exit;}
if(isset($_GET["hostToIp"])){hostToIp();exit;}



//WIFI
if(isset($_GET["iwlist"])){iwlist();exit;}
if(isset($_GET["start-wifi"])){start_wifi();exit;}

//imapSYnc

if(isset($_GET["imapsync-events"])){imapsync_events();exit;}
if(isset($_GET["imapsync-cron"])){imapsync_cron();exit;}
if(isset($_GET["imapsync-run"])){imapsync_run();exit;}
if(isset($_GET["imapsync-stop"])){imapsync_stop();exit;}
if(isset($_GET["imapsync-show"])){imapsync_show();exit;}

//gluster
if(isset($_GET["gluster-remounts"])){GLUSTER_REMOUNT();exit;}
if(isset($_GET["gluster-mounts"])){GLUSTER_MOUNT();exit;}
if(isset($_GET["gluster-update-clients"])){GLUSTER_UPDATE_CLIENTS();exit;}
if(isset($_GET["gluster-restart"])){GLUSTER_RESTART();exit;}