예제 #1
0
}
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"])) {
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
//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;}
if(isset($_GET["lessfs-mounts"])){LESSFS_MOUNTS();exit;}
if(isset($_GET["lessfs-restart"])){LESSFS_RESTART_SERVICE();exit;}


	
//cyrus
if(isset($_GET["cyrus-backup-now"])){CyrusBackupNow();exit;}
if(isset($_GET["restart-cyrus"])){RestartCyrusImapDaemon();exit;}