summaryrefslogtreecommitdiffstats
path: root/etc/rc.banner
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-26 20:42:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-26 20:42:50 +0000
commitcd718d54e4e5f3352e5fe14af56052675d053b8c (patch)
tree0140c93e53a3872453f9d005e60aa17cf5b00582 /etc/rc.banner
parent1c44a77db88864557b2fea0061771dea8c107cce (diff)
downloadpfsense-cd718d54e4e5f3352e5fe14af56052675d053b8c.zip
pfsense-cd718d54e4e5f3352e5fe14af56052675d053b8c.tar.gz
Use $g['product_name"]
Diffstat (limited to 'etc/rc.banner')
-rwxr-xr-xetc/rc.banner7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.banner b/etc/rc.banner
index edb4ca2..fe3d914 100755
--- a/etc/rc.banner
+++ b/etc/rc.banner
@@ -34,11 +34,12 @@
require_once("config.inc");
require_once("functions.inc");
- $version = trim(file_get_contents("{$g['etc_path']}/version"));
+ $version = trim(file_get_contents("{$g['etc_path']}/version"));
$platform = trim(file_get_contents("{$g['etc_path']}/platform"));
$hostname = $config['system']['hostname'];
-
- print "\n*** Welcome to pfSense {$version}-{$platform} on {$hostname} ***\n";
+ $product = $g['product_name'];
+
+ print "\n*** Welcome to {$product} {$version}-{$platform} on {$hostname} ***\n";
/* get our initial interface list */
$vfaces = array(
OpenPOWER on IntegriCloud