diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-04-28 12:17:44 -0400 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-04-28 12:18:15 -0400 |
commit | cff0b00a2b10ebc78ba967cabe9ebb5cffddea29 (patch) | |
tree | 6d40535e6c91291f19b424baa234fe2b9f3a3963 /src | |
parent | 4b9807014bedda17e0f854b6c7626966bd71d0ea (diff) | |
download | pfsense-cff0b00a2b10ebc78ba967cabe9ebb5cffddea29.zip pfsense-cff0b00a2b10ebc78ba967cabe9ebb5cffddea29.tar.gz |
Add Netgate ID display to system info widget
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 4de6d4a..59823ce 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -156,6 +156,13 @@ $rows_displayed = false; ?> <br /> <?=gettext("Serial: ");?><strong><?=system_get_serial();?></strong> +<?php + // If the uniqueID is available, display it here + $idfile = "/var/db/uniqueid"; + if (file_exists($idfile)) { + print("<br />" . gettext("Netgate Uniqie ID:") . " <strong>" . file_get_contents($idfile) . "</strong>"); + } +?> </td> </tr> <?php |