mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
- Prevent users from breaking their system if datadir is on USB - Support systems that don't use an SD card as root disk
24 lines
712 B
INI
24 lines
712 B
INI
{
|
|
"id": "nc-format-USB",
|
|
"name": "Nc-format-USB",
|
|
"title": "nc-format-USB",
|
|
"description": "Format an external USB drive as a BTRFS partition (dangerous)",
|
|
"info": "Make sure that ONLY the USB drive that you want to format is plugged in.\ncareful, this will destroy any data in the USB drive\n\n** YOU WILL LOSE ALL YOUR USB DATA **",
|
|
"infotitle": "Instructions for USB drive formatting",
|
|
"params": [
|
|
{
|
|
"id": "LABEL",
|
|
"name": "Label",
|
|
"value": "myCloudDrive",
|
|
"suggest": "myCloudDrive"
|
|
},
|
|
{
|
|
"id": "ALLOW_DATADIR_REMOVAL",
|
|
"name": "Remove data dir (MAY BREAK YOUR SYSTEM)",
|
|
"type": "bool",
|
|
"value": "no",
|
|
"suggest": "no"
|
|
}
|
|
]
|
|
}
|