solaris stuff
This commit is contained in:
parent
7b8e4a5feb
commit
757892710a
|
@ -55,6 +55,10 @@ public class OperatingSystem {
|
|||
}
|
||||
else if (os.name.equals("SunOS")) {
|
||||
os.vendor = "Sun Microsystems";
|
||||
int ix = os.version.indexOf(".");
|
||||
//5.8 == solaris 8, etc.
|
||||
os.vendorVersion = os.version.substring(ix);
|
||||
os.name = "Solaris";
|
||||
}
|
||||
else if (os.name.equals("HP-UX")) {
|
||||
os.vendor = "Hewlett-Packard";
|
||||
|
|
Loading…
Reference in New Issue