From 1283315dfc6610a382338c15797644e0941f7071 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 16 Mar 2008 02:45:49 +0000 Subject: [PATCH] add OpenBSD and NetBSD --- bindings/java/src/org/hyperic/sigar/OperatingSystem.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/java/src/org/hyperic/sigar/OperatingSystem.java b/bindings/java/src/org/hyperic/sigar/OperatingSystem.java index 351521a8..b307c1be 100644 --- a/bindings/java/src/org/hyperic/sigar/OperatingSystem.java +++ b/bindings/java/src/org/hyperic/sigar/OperatingSystem.java @@ -31,6 +31,8 @@ public class OperatingSystem extends SysInfo { public static final String NAME_AIX = "AIX"; public static final String NAME_MACOSX = "MacOSX"; public static final String NAME_FREEBSD = "FreeBSD"; + public static final String NAME_OPENBSD = "OpenBSD"; + public static final String NAME_NETBSD = "NetBSD"; public static final String NAME_WIN32 = "Win32"; public static final String NAME_NETWARE = "NetWare"; @@ -41,6 +43,8 @@ public class OperatingSystem extends SysInfo { OperatingSystem.NAME_AIX, OperatingSystem.NAME_MACOSX, OperatingSystem.NAME_FREEBSD, + OperatingSystem.NAME_OPENBSD, + OperatingSystem.NAME_NETBSD, }; public static final String[] WIN32_NAMES = {