solaris stuff
This commit is contained in:
1 parent
7b8e4a5feb
commit
757892710a
1 file changed
+4
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user