Browse Source

Merge pull request #221 from 007revad/main

sync from main
pull/222/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
be37a904c3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 14
      syno_hdd_db.sh

14
syno_hdd_db.sh

@ -40,7 +40,7 @@ if [ ! "$(basename "$BASH")" = bash ]; then
fi fi
# Check script is running on a Synology NAS # Check script is running on a Synology NAS
if ! uname -a | grep -i synology >/dev/null; then if ! /usr/bin/uname -a | grep -i synology >/dev/null; then
echo "This script is NOT running on a Synology NAS!" echo "This script is NOT running on a Synology NAS!"
echo "Copy the script to a folder on the Synology" echo "Copy the script to a folder on the Synology"
echo "and run it from there." echo "and run it from there."
@ -60,12 +60,14 @@ Usage: $(basename "$0") [options]
Options: Options:
-s, --showedits Show edits made to <model>_host db and db.new file(s) -s, --showedits Show edits made to <model>_host db and db.new file(s)
-n, --noupdate Prevent DSM updating the compatible drive databases -n, --noupdate Prevent DSM updating the compatible drive databases
-m, --m2 Don't process M.2 drives -r, --ram Disable memory compatibility checking (DSM 7.x only)
-f, --force Force DSM to not check drive compatibility
-r, --ram Disable memory compatibility checking (DSM 7.x only),
and sets max memory to the amount of installed memory and sets max memory to the amount of installed memory
-w, --wdda Disable WD WDDA -w, --wdda Disable WD Device Analytics to prevent DSM showing
-e, --email Disable colored text in output scheduler emails. a false warning for WD drives that are 3 years old
DSM 7.2.1 already has WDDA disabled
-f, --force Force DSM to not check drive compatibility
Do not use this option unless absolutely needed
-e, --email Disable colored text in output scheduler emails
--restore Undo all changes made by the script --restore Undo all changes made by the script
--autoupdate=AGE Auto update script (useful when script is scheduled) --autoupdate=AGE Auto update script (useful when script is scheduled)
AGE is how many days old a release must be before AGE is how many days old a release must be before

Loading…
Cancel
Save