Make Synology OS detection work in chroot

This commit is contained in:
Janek Bevendorff 2014-10-05 17:32:21 +02:00
parent 8221e5acb3
commit 0a7ba16686
1 changed files with 1 additions and 1 deletions

View File

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