Beispiel #1
0
}
if (isset($_GET["delete-user-folder"])) {
    directory_delete_user();
    exit;
}
//disks
if (isset($_GET["disks-list"])) {
    disks_list();
    exit;
}
if (isset($_GET["usb-scan-write"])) {
    shell_exec("/usr/share/artica-postfix/bin/artica-install --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"])) {
Beispiel #2
0
if(isset($_GET["dansguardian-template"])){dansguardian_template();exit;}
if(isset($_GET["dansguardian-get-template"])){dansguardian_get_template();exit;}


if(isset($_GET["searchww-cat"])){dansguardian_search_categories();exit;}
if(isset($_GET["export-community-categories"])){dansguardian_community_categories();exit;}
if(isset($_GET["create-user-folder"])){directory_create_user();exit;}
if(isset($_GET["delete-user-folder"])){directory_delete_user();exit;}



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