summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.banner
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:10:20 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 15:10:20 -0300
commit3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f (patch)
tree0d7fae8b4a7783c6415d1e22d386c6141a387167 /src/etc/rc.banner
parent337e6a26bf9c160c5cb7eb9ad8f77c82511eb48a (diff)
downloadpfsense-3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f.zip
pfsense-3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f.tar.gz
Remove hideplatform global config and all uses of it
Diffstat (limited to 'src/etc/rc.banner')
-rwxr-xr-xsrc/etc/rc.banner12
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) {
OpenPOWER on IntegriCloud