[Mike Gabriel] > we inventory Debian Edu hardware specifics of our customers with the > tool OCS Inventory. Other than hardware inventorying, the tool also > looks at /etc/lsb-release and shows the value of the > DISTRIB_DESCRIPTION field in host lists. If /etc/lsb-release is > missing, the file /etc/os-release is used.
I would recommend to use the output from "lsb_release -a" instead of failing to replicate the logic used by lsb_release to figure out the current status. On a Debian Edu machine it returns this: No LSB modules are available. Distributor ID: Debian Description: DebianEdu/Skolelinux Release: 9.6 Codename: stretch -- Happy hacking Petter Reinholdtsen

