summaryrefslogtreecommitdiffstats
path: root/etc/rc.banner
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-11 13:13:18 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-11 13:13:32 -0400
commit9b08f477009b9032db9b0a12951b3feb856c6de0 (patch)
tree37281e84171d8b2452444b93543d18f8e6a8a913 /etc/rc.banner
parent1f0f301c7688769f33f6f97906e03c4e9eda7d7a (diff)
downloadpfsense-9b08f477009b9032db9b0a12951b3feb856c6de0.zip
pfsense-9b08f477009b9032db9b0a12951b3feb856c6de0.tar.gz
Add machine to banner notice
Diffstat (limited to 'etc/rc.banner')
-rwxr-xr-xetc/rc.banner3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.banner b/etc/rc.banner
index ae762c3..0d68af7 100755
--- a/etc/rc.banner
+++ b/etc/rc.banner
@@ -39,12 +39,13 @@
$platform = trim(file_get_contents("{$g['etc_path']}/platform"));
$hostname = $config['system']['hostname'];
$product = $g['product_name'];
+ $machine = trim(`uname -m`);
$hideplatform = $g['hideplatform'];
if(!$hideplatform)
$platformbanner = "-{$platform}";
- print "\n*** Welcome to {$product} {$version}{$platformbanner} on {$hostname} ***\n";
+ print "\n*** Welcome to {$product} ({$machine}) {$version}{$platformbanner} on {$hostname} ***\n";
$iflist = get_configured_interface_with_descr(false, true);
foreach($iflist as $ifname => $friendly) {
OpenPOWER on IntegriCloud