diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-11 13:13:18 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-11 13:13:32 -0400 |
commit | 9b08f477009b9032db9b0a12951b3feb856c6de0 (patch) | |
tree | 37281e84171d8b2452444b93543d18f8e6a8a913 | |
parent | 1f0f301c7688769f33f6f97906e03c4e9eda7d7a (diff) | |
download | pfsense-9b08f477009b9032db9b0a12951b3feb856c6de0.zip pfsense-9b08f477009b9032db9b0a12951b3feb856c6de0.tar.gz |
Add machine to banner notice
-rwxr-xr-x | etc/rc.banner | 3 |
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) { |