Commit cddf2ac3 authored by Augustin Degomme's avatar Augustin Degomme

more precise OS description for OpenIndiana.

parent f811b86e
......@@ -80,6 +80,8 @@ elif [ -f /usr/bin/sw_vers ]; then
elif [ -f /bin/freebsd-version ]; then
os=$(uname -s)
ver=$(freebsd-version -u)
elif [ -f /etc/version ]; then
read -r os ver < /etc/release
elif [ -f /etc/os-release ]; then
# freedesktop.org and systemd, put last as usually missing useful info
. /etc/os-release
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment