예제 #1
0
파일: cmd.php 프로젝트: brucewu16899/artica
}
if (isset($_GET["disk-get-label"])) {
    disks_get_label();
    exit;
}
// cmd.php?fstab-acl=yes&acl=$acl&dev=$dev
if (isset($_GET["fstab-acl"])) {
    fstab_acl();
    exit;
}
if (isset($_GET["fstab-remove"])) {
    fstab_del();
    exit;
}
if (isset($_GET["DiskInfos"])) {
    DiskInfos();
    exit;
}
if (isset($_GET["fstab-get-mount-point"])) {
    fstab_get_mount_point();
    exit;
}
if (isset($_GET["get-mounted-path"])) {
    disk_get_mounted_point();
    exit;
}
if (isset($_GET["fdisk-build-big-partitions"])) {
    disk_format_big_partition();
}
if (isset($_GET["chown"])) {
    directory_chown();
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5


if(isset($_GET["IsDir"])){IsDir();exit;}
if(isset($_GET["hdparm-infos"])){hdparm_infos();exit;}
if(isset($_GET["disk-change-label"])){disks_change_label();exit;}
if(isset($_GET["disk-get-label"])){disks_get_label();exit;}
if(isset($_GET["udevinfos"])){udevinfos();exit;}



// cmd.php?fstab-acl=yes&acl=$acl&dev=$dev
if(isset($_GET["fstab-acl"])){fstab_acl();exit;}
if(isset($_GET["fstab-quota"])){fstab_quota();exit;}
if(isset($_GET["fstab-remove"])){fstab_del();exit;}
if(isset($_GET["DiskInfos"])){DiskInfos();exit;}
if(isset($_GET["fstab-get-mount-point"])){fstab_get_mount_point();exit;}
if(isset($_GET["get-mounted-path"])){disk_get_mounted_point();exit;}
if(isset($_GET["fdisk-build-big-partitions"])){disk_format_big_partition();}
if(isset($_GET["chown"])){directory_chown();exit;}
if(isset($_GET["quotastats"])){quotastats();exit;}
if(isset($_GET["repquota"])){repquota();exit;}
if(isset($_GET["setquota"])){setquota();exit;}
if(isset($_GET["quotas-recheck"])){quotasrecheck();exit;}





if(isset($_GET["umount-disk"])){umount_disk();exit;}
if(isset($_GET["lvremove"])){LVM_REMOVE();exit;}