Browse Source
Merge pull request #218 from leonpano2006/main
fix wrong uname
pull/221/head
Dave Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
syno_hdd_db.sh
|
|
@ -40,7 +40,7 @@ if [ ! "$(basename "$BASH")" = bash ]; then |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# Check script is running on a Synology NAS |
|
|
# 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 "This script is NOT running on a Synology NAS!" |
|
|
echo "Copy the script to a folder on the Synology" |
|
|
echo "Copy the script to a folder on the Synology" |
|
|
echo "and run it from there." |
|
|
echo "and run it from there." |
|
|
|