diff --git a/README.md b/README.md index e1687c5..094313e 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,10 @@ ### Scheduling the script in Synology's Task Scheduler ### Running the script via SSH -You run the script in a shell with sudo i or as root. +You run the script in a shell with sudo -i or as root. ```YAML -sudo i /path-to-script/syno_hdd_db.sh +sudo -i /path-to-script/syno_hdd_db.sh ``` **Note:** Replace /path-to-script/ with the actual path to the script on your Synology. @@ -71,7 +71,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 -showedits +sudo -i /path-to-script/syno_hdd_db.sh -showedits ``` **Note:** Replace /path-to-script/ with the actual path to the script on your Synology.