Project

General

Profile

« Previous | Next » 

Revision 81de04ae

Added by Jim Pingle about 8 years ago

Add NGID to status.php

(cherry picked from commit fcc24426ab16b02ffc77bc7c9ee040d76dd987a2)
(cherry picked from commit 2e7f67b274960210ef2d606f72b7bfee22c1b1c7)

View differences:

src/usr/local/www/status.php
201 201
	if (!empty($platform['descr'])) {
202 202
		$firewall_info .= "<br/>Platform: " . htmlspecialchars($platform['descr']);
203 203
	}
204

  
205
	if (file_exists('/var/db/uniqueid')) {
206
		$ngid = file_get_contents('/var/db/uniqueid');
207
		if (!empty($ngid)) {
208
			$firewall_info .= "<br/>Netgate Device ID: " . htmlspecialchars($ngid);
209
		}
210
	}
211

  
204 212
	$serial = system_get_serial();
205 213
	if (!empty($serial)) {
206 214
		$firewall_info .= "<br/>SN/UUID: " . htmlspecialchars($serial);

Also available in: Unified diff