diff options
Diffstat (limited to 'etc/rc.banner')
-rwxr-xr-x | etc/rc.banner | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.banner b/etc/rc.banner index 768a70d..e31d474 100755 --- a/etc/rc.banner +++ b/etc/rc.banner @@ -36,7 +36,6 @@ require_once("gwlb.inc"); require_once("interfaces.inc"); - $version = trim(file_get_contents("{$g['etc_path']}/version")); $platform = trim(file_get_contents("{$g['etc_path']}/platform")); $hostname = $config['system']['hostname']; $product = $g['product_name']; @@ -47,7 +46,7 @@ $platformbanner = "-{$platform}"; } - print "*** Welcome to {$product} {$version}{$platformbanner} ({$machine}) on {$hostname} ***\n"; + print "*** Welcome to {$product} {$g['product_version']}{$platformbanner} ({$machine}) on {$hostname} ***\n"; $iflist = get_configured_interface_with_descr(false, true); foreach ($iflist as $ifname => $friendly) { |