FYI, I just discovered this new file which systemd writes,
/etc/os-release, which coalesces a lot of the distro-specific files like
/etc/redhat-release, /etc/debian-version, etc. Here's an example:
This might be handy to use in our startd code and in day-to-day
interactive debugging:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/";
SUPPORT_URL="http://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
|