<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Henrik Stoerner wrote:
<blockquote cite="mid20060603105031.GA22244@hswn.dk" type="cite">
  <pre wrap="">On Fri, Jun 02, 2006 at 02:47:30PM +0200, Frédéric Mangeant wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">hobbitclient-linux.sh uses "uname -a" to report information about the 
OS, which gives something like this :

Linux hades 2.6.14.2 #2 Wed Nov 16 10:14:26 CET 2005 i686 Pentium III 
(Katmai) GNU/Linux

IMHO it would be great to display less information about the running 
kernel and add information about the Linux distribution, something like 
that :

Linux 2.6.14.2 i686 - Gentoo Base System version 1.6.14
Linux 2.6.9-34.EL i686 - CentOS release 4.3 (Final)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I've taken your patch and modified it somewhat, so that the distribution
specific information is reported in a separate [osversion] section of
the client data. Then I made the "info" column webpage use this, so in
the "OS: " display you'll now see

OS:     Ubuntu 6.06
        Linux osiris.hswn.dk 2.6.15-23-k7 i686


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>

  </pre>
</blockquote>
Another very nice addition that will come in handy, but as an extension
could the 'flavour' be added in there also ? Eg I know you can do cat
/etc/redhat-release on redhat but no idea what the equivalent command
is on other nix*<br>
<br>
Allan<br>
</body>
</html>