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

Add Oracle Linux Distribution to distro script (#146)

* Add Oracle Linux to distro script

* Revert local change
This commit is contained in:
Uwe Arzt
2017-09-06 20:42:58 +02:00
committed by Neil Lathwood
parent 45478555df
commit 1b03d2f9f7

View File

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