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
```YAML
sudo -i /path-to-script/syno_hdd_db.sh -nr
sudo -i /path-to-script/syno_hdd_db.sh -n
```
```
**Note:** Replace /path-to-script/ with the actual path to the script on your Synology.
**Note:** Replace /path-to-script/ with the actual path to the script on your Synology.
@ -93,7 +93,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.
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.