From fcc24426ab16b02ffc77bc7c9ee040d76dd987a2 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 23 May 2017 12:12:44 -0400 Subject: [PATCH] Add NGID to status.php --- src/usr/local/www/status.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/usr/local/www/status.php b/src/usr/local/www/status.php index 5878b4f6cb..e3a354651b 100644 --- a/src/usr/local/www/status.php +++ b/src/usr/local/www/status.php @@ -169,6 +169,14 @@ function get_firewall_info() { if (!empty($platform['descr'])) { $firewall_info .= "
Platform: " . htmlspecialchars($platform['descr']); } + + if (file_exists('/var/db/uniqueid')) { + $ngid = file_get_contents('/var/db/uniqueid'); + if (!empty($ngid)) { + $firewall_info .= "
Netgate Device ID: " . htmlspecialchars($ngid); + } + } + $serial = system_get_serial(); if (!empty($serial)) { $firewall_info .= "
SN/UUID: " . htmlspecialchars($serial);