From 81de04ae4554274618279dd43ec92a7a4268bdda Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 23 May 2017 12:12:44 -0400 Subject: Add NGID to status.php (cherry picked from commit fcc24426ab16b02ffc77bc7c9ee040d76dd987a2) (cherry picked from commit 2e7f67b274960210ef2d606f72b7bfee22c1b1c7) --- src/usr/local/www/status.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/usr/local/www/status.php b/src/usr/local/www/status.php index 3e2ec35..fc2c632 100644 --- a/src/usr/local/www/status.php +++ b/src/usr/local/www/status.php @@ -201,6 +201,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); -- cgit v1.1