From fa650678739bf54f3df1f2f2ddee91febe5d34b0 Mon Sep 17 00:00:00 2001 From: leonpano2006 Date: Sat, 20 Jan 2024 11:49:34 +0100 Subject: [PATCH] Update syno_hdd_db.sh fix for other path of uname cause it think is not synology --- syno_hdd_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 5aacddd..5f1e6d3 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -40,7 +40,7 @@ if [ ! "$(basename "$BASH")" = bash ]; then fi # 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 "Copy the script to a folder on the Synology" echo "and run it from there."