Browse Source

Update syno_hdd_db.sh

fix for other path of uname cause it think is not synology
pull/218/head^2
leonpano2006 2 years ago
committed by GitHub
parent
commit
fa65067873
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      syno_hdd_db.sh

2
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."

Loading…
Cancel
Save