LSB, was Re: slackware and fsw2.00pre8

Paul Wouters <[email protected]> Mon, 24 Feb 2003 12:48:59 +0100 (MET)
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
On Sun, 23 Feb 2003, Ken Bantoft wrote:

> cat /etc/slackware-release, I believe for 7.0 and higher.

The proper new way of dealing with these issues should be the LSB.

On a LSB compliant linux distribution, we can issue a:

lsb_release -ir

RedHat gives us:

Distributor ID: RedHat
Release:        8.0

I am assuming Slackware has similar LSB support. Using lsb, we can, *from
now on* determine the distribution. We will still have to work for a while
with the pre-lsb stuff though, so manually trying to find certain distros
using /etc/*release will still be needed for a while. The best way to do
this is to prompt the administrator to sent us the details to some custom
made email address f we detect a distro we can't fingerprint.

Paul