예제 #1
0
파일: cmd.php 프로젝트: brucewu16899/artica
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;
}
if (isset($_GET["imapsync-run"])) {
    imapsync_run();
    exit;
}
if (isset($_GET["imapsync-stop"])) {
    imapsync_stop();
    exit;
}
if (isset($_GET["imapsync-show"])) {
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
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;}
if(isset($_GET["gluster-delete-clients"])){GLUSTER_DELETE_CLIENTS();exit;}
if(isset($_GET["gluster-notify-clients"])){GLUSTER_NOTIFY_CLIENTS();exit;}
if(isset($_GET["glfs-is-mounted"])){GLUSTER_IS_MOUNTED();exit;}

if(isset($_GET["lessfs"])){LESSFS_RESTART();exit;}