diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:42:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:42:50 +0000 |
commit | cd718d54e4e5f3352e5fe14af56052675d053b8c (patch) | |
tree | 0140c93e53a3872453f9d005e60aa17cf5b00582 /etc/rc.banner | |
parent | 1c44a77db88864557b2fea0061771dea8c107cce (diff) | |
download | pfsense-cd718d54e4e5f3352e5fe14af56052675d053b8c.zip pfsense-cd718d54e4e5f3352e5fe14af56052675d053b8c.tar.gz |
Use $g['product_name"]
Diffstat (limited to 'etc/rc.banner')
-rwxr-xr-x | etc/rc.banner | 7 |
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( |