<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Il 06/11/2013 18:17, Nemesis ha
      scritto:<br>
    </div>
    <blockquote cite="mid:527A79B2.6020506@ninux.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">The problem with having OS version is
        that the automatic scripts running get a version number which is
        quite complex.</div>
    </blockquote>
    <br>
    It's complex, it requires some regex magic, but I don't understand
    why you set uname as an example. I find these more useful:<br>
    <br>
    OpenWRT:<br>
    <br>
    cat /etc/openwrt_release + some regex magic<br>
    cat /etc/openwrt_version<br>
    <br>
    AirOS:<br>
    <br>
    cat /etc/version (major release)<br>
    cat /lib/version (build number string)<br>
    <br>
    Sorry, I don't know regex enough to extract the versioning but it
    should be trivial for someone who knows his/her way.<br>
    <br>
    As for the usefulness, I agree with what Clauz said, I believe It's
    compelling enough as a use case.<br>
    It also makes easier to identify which devices needs updating should
    a major security vulnerability arise.<br>
    <br>
    Stefanauss.<br>
  </body>
</html>