Browse Source

Merge pull request #218 from leonpano2006/main

fix wrong uname
pull/221/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
86b78eb0c6
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