diff --git a/CHANGES.txt b/CHANGES.txt index 7271186..a899ec2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 _changes.txt when updating the script. diff --git a/README.md b/README.md index 372061d..c030c32 100644 --- a/README.md +++ b/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 | | Darryl Harper | Mikescher | Matthias Pfaff | cpharada | | Neil Tapp | zen1605 | Kleissner Investments | Angel Scandinavia | diff --git a/my-other-scripts.md b/my-other-scripts.md index 877bb6f..0375a43 100644 --- a/my-other-scripts.md +++ b/my-other-scripts.md @@ -13,9 +13,6 @@ ## All my Synology Scripts - **Synology_enable_M2_card** - Enable Synology M.2 PCIe cards in Synology NAS that don't officially support them. -- **Synology_enable_eunit** - - Enable an unsupported Synology eSATA Expansion Unit models. - - **Synology_enable_Deduplication** - Enable deduplication with non-Synology SSDs and unsupported NAS models. @@ -34,6 +31,9 @@ ## All my Synology Scripts - **Synology_DSM_reinstall** - Easily re-install the same DSM version without losing any data or settings +- **Synology_app_mover** + - Easily move Synology packages from one volume to another volume + - **Synology_Cleanup_Coredumps** - Cleanup memory core dumps from crashed processes diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index b4c2d14..5d708e8 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -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