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