diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-12 15:10:20 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-12 15:10:20 -0300 |
commit | 3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f (patch) | |
tree | 0d7fae8b4a7783c6415d1e22d386c6141a387167 /src/etc/rc.banner | |
parent | 337e6a26bf9c160c5cb7eb9ad8f77c82511eb48a (diff) | |
download | pfsense-3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f.zip pfsense-3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f.tar.gz |
Remove hideplatform global config and all uses of it
Diffstat (limited to 'src/etc/rc.banner')
-rwxr-xr-x | src/etc/rc.banner | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/etc/rc.banner b/src/etc/rc.banner index 736b413..92d9e12 100755 --- a/src/etc/rc.banner +++ b/src/etc/rc.banner @@ -29,18 +29,8 @@ require_once("interfaces.inc"); $hostname = $config['system']['hostname']; $product = $g['product_name']; $machine = trim(`uname -m`); -$hideplatform = $g['hideplatform']; -if (!$hideplatform) { - if ($g['platform'] == $g['product_name']) { - $platform = "full-install"; - } else { - $platform = $g['platform']; - } - $platformbanner = " {$platform}"; -} - -print "*** Welcome to {$product} {$g['product_version_string']} ({$machine}{$platformbanner}) on {$hostname} ***\n"; +print "*** Welcome to {$product} {$g['product_version_string']} ({$machine}) on {$hostname} ***\n"; $iflist = get_configured_interface_with_descr(false, true); foreach ($iflist as $ifname => $friendly) { |