Skip to content

Commit

Permalink
Add OpenMediaVault detection to distro script (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxgasy authored Nov 8, 2023
1 parent e34cde0 commit 4a13689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snmp/distro
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4a13689

Please sign in to comment.