mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Add OpenMediaVault detection to distro script (#484)
This commit is contained in:
@ -78,6 +78,9 @@ elif [ "${OS}" = "Linux" ] ; then
|
||||
if [ -f /etc/dogtag ]; then
|
||||
DIST=$(cat /etc/dogtag)
|
||||
fi
|
||||
if [ -f /usr/sbin/omv-sysinfo ]; then
|
||||
DIST="${DIST}/OpenMediaVault $(/usr/sbin/omv-sysinfo 00-omv-version | grep Release | cut -d: -f2 | sed 's/\s//g')"
|
||||
fi
|
||||
|
||||
elif [ -f /etc/gentoo-release ] ; then
|
||||
DIST="Gentoo"
|
||||
|
Reference in New Issue
Block a user