Skip to content

Commit

Permalink
more safe qnap detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszklim committed Feb 19, 2018
1 parent 2021a56 commit 3b92ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect-system-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ detect_os_type()
echo "netbsd"
elif [ -f /bsd ] && [ -f /bsd.rd ]; then
echo "openbsd"
elif [ -d /mnt/HDA_ROOT/.config ]; then
elif [ -f /etc/config/qpkg.conf ]; then
echo "qnap"
else
echo "generic"
Expand Down

0 comments on commit 3b92ca3

Please sign in to comment.