Browse Source

Merge pull request #204 from 007revad/develop

Develop
pull/205/head v3.4.78
Dave Russell 2 years ago
committed by GitHub
parent
commit
27148054e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGES.txt
  2. 2
      README.md
  3. 6
      my-other-scripts.md
  4. 10
      syno_hdd_db.sh

3
CHANGES.txt

@ -1,3 +1,6 @@
v3.4.78
- Added check that script is running on Synology NAS.
v3.4.77 v3.4.77
- Include smart_test_ignore and smart_attr_ignore in db files. - Include smart_test_ignore and smart_attr_ignore in db files.
- Now saves changes.txt as <script-filename>_changes.txt when updating the script. - Now saves changes.txt as <script-filename>_changes.txt when updating the script.

2
README.md

@ -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 | | Reece Lyne | Enric Escudé Santana | Yunhao Zhang | Matthias Gerhardt |
| Darryl Harper | Mikescher | Matthias Pfaff | cpharada | | Darryl Harper | Mikescher | Matthias Pfaff | cpharada |
| Neil Tapp | zen1605 | Kleissner Investments | Angel Scandinavia | | Neil Tapp | zen1605 | Kleissner Investments | Angel Scandinavia |

6
my-other-scripts.md

@ -13,9 +13,6 @@ ## All my Synology Scripts
- **<a href="https://github.com/007revad/Synology_enable_M2_card">Synology_enable_M2_card</a>** - **<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. - 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>** - **<a href="https://github.com/007revad/Synology_enable_Deduplication">Synology_enable_Deduplication</a>**
- Enable deduplication with non-Synology SSDs and unsupported NAS models. - 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>** - **<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 - 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>** - **<a href="https://github.com/007revad/Synology_Cleanup_Coredumps">Synology_Cleanup_Coredumps</a>**
- Cleanup memory core dumps from crashed processes - Cleanup memory core dumps from crashed processes

10
syno_hdd_db.sh

@ -27,7 +27,7 @@
# Now warns if script is located on an M.2 volume. # Now warns if script is located on an M.2 volume.
scriptver="v3.4.77" scriptver="v3.4.78"
script=Synology_HDD_db script=Synology_HDD_db
repo="007revad/Synology_HDD_db" repo="007revad/Synology_HDD_db"
scriptname=syno_hdd_db scriptname=syno_hdd_db
@ -39,7 +39,13 @@ if [ ! "$(basename "$BASH")" = bash ]; then
exit 1 exit 1
fi 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(){ ding(){
printf \\a printf \\a

Loading…
Cancel
Save