From 0a7ba166867cccf1f52a22d028f3d7a9285283ec Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sun, 5 Oct 2014 17:32:21 +0200 Subject: [PATCH] Make Synology OS detection work in chroot --- server/usr/bin/rs-detect-distribution | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/usr/bin/rs-detect-distribution b/server/usr/bin/rs-detect-distribution index d196a3d..3261cd8 100755 --- a/server/usr/bin/rs-detect-distribution +++ b/server/usr/bin/rs-detect-distribution @@ -31,7 +31,7 @@ command -v lsb_release > /dev/null 2>&1 if [ $? -eq 0 ]; then lsb_release -is -elif [ -e /etc/synoinfo.conf ]; then +elif [ -e /etc/synoinfo.conf ] || [ -e /usr/lib/libsynoutils.so ]; then echo "Synology" else echo "unknown"