From d33c54ea9ef0c2da650536a29a681fded5076a94 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 13 Mar 2016 22:15:13 +0100 Subject: [PATCH] Add discovery file --- includes/discovery/os/developprinter.inc.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 includes/discovery/os/developprinter.inc.php diff --git a/includes/discovery/os/developprinter.inc.php b/includes/discovery/os/developprinter.inc.php new file mode 100644 index 000000000..48ba36512 --- /dev/null +++ b/includes/discovery/os/developprinter.inc.php @@ -0,0 +1,16 @@ + + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ +if(!$os) { + if (strstr($sysObjectId, '.1.3.6.1.4.1.18334.1.2.1.2.1.50.2.2')) { + $os = 'developprinter'; + } +}