Browse Source
Merge pull request #204 from 007revad/develop
Develop
pull/205/head
v3.4.78
Dave Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
15 additions and
6 deletions
-
CHANGES.txt
-
README.md
-
my-other-scripts.md
-
syno_hdd_db.sh
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
v3.4.78 |
|
|
|
- Added check that script is running on Synology NAS. |
|
|
|
|
|
|
|
v3.4.77 |
|
|
|
- Include smart_test_ignore and smart_attr_ignore in db files. |
|
|
|
- Now saves changes.txt as <script-filename>_changes.txt when updating the script. |
|
|
|
|
|
|
|
@ -128,7 +128,7 @@ ### vendor_ids.txt |
|
|
|
|
|
|
|
| | | | | |
|
|
|
|--------------------|--------------------|----------------------|----------------------| |
|
|
|
| | | Ez Hosting | Alec Wilhere | |
|
|
|
| | Voluntary Commerce LLC | Ez Hosting | Alec Wilhere | |
|
|
|
| Reece Lyne | Enric Escudé Santana | Yunhao Zhang | Matthias Gerhardt | |
|
|
|
| Darryl Harper | Mikescher | Matthias Pfaff | cpharada | |
|
|
|
| Neil Tapp | zen1605 | Kleissner Investments | Angel Scandinavia | |
|
|
|
|
|
|
|
@ -13,9 +13,6 @@ ## All my Synology Scripts |
|
|
|
- **<a href="https://github.com/007revad/Synology_enable_M2_card">Synology_enable_M2_card</a>** |
|
|
|
- Enable Synology M.2 PCIe cards in Synology NAS that don't officially support them. |
|
|
|
|
|
|
|
- **<a href="https://github.com/007revad/Synology_enable_eunit">Synology_enable_eunit</a>** |
|
|
|
- Enable an unsupported Synology eSATA Expansion Unit models. |
|
|
|
|
|
|
|
- **<a href="https://github.com/007revad/Synology_enable_Deduplication">Synology_enable_Deduplication</a>** |
|
|
|
- Enable deduplication with non-Synology SSDs and unsupported NAS models. |
|
|
|
|
|
|
|
@ -34,6 +31,9 @@ ## All my Synology Scripts |
|
|
|
- **<a href="https://github.com/007revad/Synology_DSM_reinstall">Synology_DSM_reinstall</a>** |
|
|
|
- Easily re-install the same DSM version without losing any data or settings |
|
|
|
|
|
|
|
- **<a href="https://github.com/007revad/Synology_app_mover">Synology_app_mover</a>** |
|
|
|
- Easily move Synology packages from one volume to another volume |
|
|
|
|
|
|
|
- **<a href="https://github.com/007revad/Synology_Cleanup_Coredumps">Synology_Cleanup_Coredumps</a>** |
|
|
|
- Cleanup memory core dumps from crashed processes |
|
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ |
|
|
|
# Now warns if script is located on an M.2 volume. |
|
|
|
|
|
|
|
|
|
|
|
scriptver="v3.4.77" |
|
|
|
scriptver="v3.4.78" |
|
|
|
script=Synology_HDD_db |
|
|
|
repo="007revad/Synology_HDD_db" |
|
|
|
scriptname=syno_hdd_db |
|
|
|
@ -39,7 +39,13 @@ if [ ! "$(basename "$BASH")" = bash ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
#echo -e "bash version: $(bash --version | head -1 | cut -d' ' -f4)\n" # debug |
|
|
|
# Check script is running on a Synology NAS |
|
|
|
if ! uname -a | grep -i synology >/dev/null; then |
|
|
|
echo "This script is NOT running on a Synology NAS!" |
|
|
|
echo "Copy the script to a folder on the Synology" |
|
|
|
echo "and run it from there." |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
ding(){ |
|
|
|
printf \\a |
|
|
|
|