Make Synology OS detection work in chroot
This commit is contained in:
parent
8221e5acb3
commit
0a7ba16686
|
@ -31,7 +31,7 @@ command -v lsb_release > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
lsb_release -is
|
lsb_release -is
|
||||||
elif [ -e /etc/synoinfo.conf ]; then
|
elif [ -e /etc/synoinfo.conf ] || [ -e /usr/lib/libsynoutils.so ]; then
|
||||||
echo "Synology"
|
echo "Synology"
|
||||||
else
|
else
|
||||||
echo "unknown"
|
echo "unknown"
|
||||||
|
|
Loading…
Reference in New Issue