Skip to content

Linux OS name #66

@whodafak

Description

@whodafak

Hello, its not issue per se, but it would be nice if we get correct OS name if one is not using Debian or RedHat variants. In my case i am using Slackware and its just saying Linux instead correct OS name. Simply by editing 1 line in hetrixtools_agent.sh
#If all else fails
OS="$(uname -s)"
to
OS="$(grep 'PRETTY_NAME' /etc/os-release | cut -d '"' -f 2)"
will give correct OS name.
Thank you.
Screenshot 2024-12-13 220738
Screenshot 2024-12-13 220756

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions