summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php7
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 a3d62ab..20c01fc 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -186,6 +186,13 @@ $skipsysinfoitems = explode(",", $user_settings['widgets']['system_information']
?>
<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
OpenPOWER on IntegriCloud