예제 #1
0
    exit;
}
if (isset($_GET["chmod-access"])) {
    chmod_access();
    exit;
}
if (isset($_GET["acls-status"])) {
    acls_status();
    exit;
}
if (isset($_GET["acls-apply"])) {
    acls_apply();
    exit;
}
if (isset($_GET["acls-delete"])) {
    acls_delete();
    exit;
}
if (isset($_GET["acls-rebuild"])) {
    acls_rebuild();
    exit;
}
if (isset($_GET["IsDir"])) {
    IsDir();
    exit;
}
if (isset($_GET["hdparm-infos"])) {
    hdparm_infos();
    exit;
}
if (isset($_GET["disk-change-label"])) {
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
if(isset($_GET["disks-list"])){disks_list();exit;}
if(isset($_GET["usb-scan-write"])){USB_SCAN_WRITE();exit;}
if(isset($_GET["lvm-lvs"])){lvs_scan();exit;}
if(isset($_GET["sfdisk-dump"])){sfdisk_dump();exit;}
if(isset($_GET["mkfs"])){mkfs();exit;}
if(isset($_GET["parted-print"])){parted_print();exit;}
if(isset($_GET["format-disk-unix"])){format_disk_unix();exit;}
if(isset($_GET["lvs-mapper"])){LVM_LVS_DEV_MAPPER();exit;}
if(isset($_GET["check-dev"])){DEV_CHECK();}
if(isset($_GET["fstab-add"])){fstab_add();exit;}
if(isset($_GET["fstablist"])){fstab_list();exit;}
if(isset($_GET["path-acls"])){acls_infos();exit;}
if(isset($_GET["chmod-access"])){chmod_access();exit;}
if(isset($_GET["acls-status"])){acls_status();exit;}
if(isset($_GET["acls-apply"])){acls_apply();exit;}
if(isset($_GET["acls-delete"])){acls_delete();exit;}
if(isset($_GET["acls-rebuild"])){acls_rebuild();exit;}



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;}