diff options
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( |