1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

added rockstor nas distro detection (#187)

This commit is contained in:
crcro
2018-08-10 00:44:02 +03:00
committed by Neil Lathwood
parent c535b1286c
commit c772ac97d3

View File

@ -30,6 +30,8 @@ elif [ "${OS}" = "Linux" ] ; then
REV=`cat /etc/mandriva-release | sed s/.*release\ // | sed s/\ .*//`
elif [ -f /etc/oracle-release ]; then
DIST="Oracle"
elif [ -f /etc/rockstor-release ]; then
DIST="Rockstor"
else
DIST="RedHat"
fi