#23 patch file for OS detection file

closed
nobody
None
5
2003-10-27
2003-10-23
Anonymous
No

Webmin wasnt picking up correct OS, so created the
following patch file - also re-done some of the look'n'feel

diff -uNr webmin-1.110-orig/os_list.txt
webmin-1.110/os_list.txt
--- webmin-1.110-orig/os_list.txt 2003-09-11
19:09:51.000000000 -0500
+++ webmin-1.110/os_list.txt 2003-10-23
11:08:37.000000000 -0500
@@ -25,10 +25,11 @@
Redhat Linux 8.0 redhat-linux
8.0 $etc_issue =~ /red\s*hat.*\s8\.0\s/i || `cat
/etc/redhat-release 2>&1` =~ /\s8\.0\s/
Redhat Linux 9.0 redhat-linux
9.0 $etc_issue =~ /red\s*hat.*\s9(\.0)?\s/i ||
`cat /etc/redhat-release 2>&1` =~ /red\s*hat.*\s9(\.0)?\s/
Redhat Linux 10.0 redhat-linux
10.0 $etc_issue =~ /red\s*hat.*\s10(\.0)?\s/i ||
`cat /etc/redhat-release 2>&1` =~ /red\s*hat.*\s10(\.0)?\s/
-Redhat Linux 2.1AS redhat-linux
7.3 `cat /etc/redhat-release 2>&1` =~
/(Advanced\s+Server.*2\.1)|(AS.*2\.1)/i
-Redhat Linux 2.1ES redhat-linux
7.3 `cat /etc/redhat-release 2>&1` =~ /ES.*2\.1/i
-Redhat Linux 2.1WS redhat-linux
7.3 `cat /etc/redhat-release 2>&1` =~ /WS.*2\.1/i
-Redhat Linux 3.0AS redhat-linux
9.0 `cat /etc/redhat-release 2>&1` =~
/(3\.0AS)|(2\.9\.5AS)/i
+RedHat Enterprise Linux 2.1ES
redhat-linux 7.3 `cat /etc/redhat-release 2>&1`
=~ /ES.*2\.1/i
+RedHat Enterprise Linux 2.1WS
redhat-linux 7.3 `cat /etc/redhat-release 2>&1`
=~ /WS.*2\.1/i
+RedHat Enterprise Linux 2.1AS
redhat-linux 7.2 `cat /etc/redhat-release 2>&1`
=~ /(Advanced\s+Server.*2\.1)|(AS.*2\.1)/i
+RedHat Enterprise Linux 3.0ES
redhat-linux 9.0 `cat /etc/redhat-release 2>&1`
=~ /ES.*3/i
+RedHat Enterprise Linux 3.0AS
redhat-linux 9.0 `cat /etc/redhat-release 2>&1`
=~ /(AS.*3)|(3\.0AS)|(2\.9\.5AS)/i
Slackware Linux 3.2
slackware-linux 3.2
Slackware Linux 3.3
slackware-linux 3.3
Slackware Linux 3.4
slackware-linux 3.4

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-10-27
    • milestone: 333292 -->
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2003-10-27

    Logged In: YES
    user_id=129364

    Thanks for the patch - I will include it in the next webmin release.