From dd8fd54a992375186d3eaf33eae115f62734ec21 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Wed, 7 May 2025 05:49:22 +1000 Subject: [PATCH] Update 2025_plus_models.md --- 2025_plus_models.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/2025_plus_models.md b/2025_plus_models.md index 5b16db0..5f7ae7a 100644 --- a/2025_plus_models.md +++ b/2025_plus_models.md @@ -47,15 +47,21 @@ #### Via SSH #### Via a scheduled task - -``` -mkdir -m775 /opt -cd /opt || (echo "Failed to CD to /opt"; exit 1) -curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_db.sh" -curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_vendor_ids.txt" -chmod 750 /opt/syno_hdd_db.sh -/opt/syno_hdd_db.sh -``` +1. Go to **Control Panel** > **Task Scheduler** > click **Create** > **Scheduled Task** > **User-defined script**. +2. Enter a task name. +3. Select **root** as the user (The script needs to run as root). +4. Untick **Enable**. +5. Click **Task Settings**. +6. In the box under **User-defined script** paste the following: + ``` + mkdir -m775 /opt + cd /opt || (echo "Failed to CD to /opt"; exit 1) + curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_db.sh" + curl -O "https://raw.githubusercontent.com/007revad/Synology_HDD_db/refs/heads/main/syno_hdd_vendor_ids.txt" + chmod 750 /opt/syno_hdd_db.sh + /opt/syno_hdd_db.sh + ``` +7. Click **OK** to save the settings. You can now create your storage pool from Storage Manager