diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-04-28 12:17:44 -0400 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-05-02 12:33:26 -0300 |
commit | 6042f9d351337d20a9a03f5f8d3d12fbdce8a0fc (patch) | |
tree | 108040e5809a66818617d00cfc35759b19e559cb /src/usr/local/www/widgets | |
parent | 3e867e61f383eee62bea31ec8af9d82a6b92cb0e (diff) | |
download | pfsense-6042f9d351337d20a9a03f5f8d3d12fbdce8a0fc.zip pfsense-6042f9d351337d20a9a03f5f8d3d12fbdce8a0fc.tar.gz |
Add Netgate ID display to system info widget
Diffstat (limited to 'src/usr/local/www/widgets')
-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 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 |