From e301db92e25cc8746c890ba2060bea50e8a70ecc Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:21:59 +1100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d1f9771..0bc45dc 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,10 @@ ### Running the script via SSH [How to enable SSH and login to DSM via SSH](https://kb.synology.com/en-global/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet) -You run the script in a shell with sudo -i or as root. +You run the script in a shell with sudo -s or as root. ```YAML -sudo -i /path-to-script/syno_hdd_db.sh -nr +sudo -s /path-to-script/syno_hdd_db.sh -nr ``` **Note:** Replace /path-to-script/ with the actual path to the script on your Synology. @@ -103,7 +103,7 @@ ### Running the script via SSH If you run the script with the --showedits flag it will show you the changes it made to the Synology's compatible-drive database. Obviously this is only useful if you run the script in a shell. ```YAML -sudo -i /path-to-script/syno_hdd_db.sh -nr --showedits +sudo -s /path-to-script/syno_hdd_db.sh -nr --showedits ``` **Note:** Replace /path-to-script/ with the actual path to the script on your Synology.