Project

General

Profile

« Previous | Next » 

Revision cd718d54

Added by Scott Ullrich almost 17 years ago

Use $g['product_name"]

View differences:

etc/rc.banner
34 34
	require_once("config.inc");
35 35
	require_once("functions.inc");
36 36

  
37
	$version = trim(file_get_contents("{$g['etc_path']}/version"));
37
	$version  = trim(file_get_contents("{$g['etc_path']}/version"));
38 38
	$platform = trim(file_get_contents("{$g['etc_path']}/platform"));
39 39
	$hostname = $config['system']['hostname'];
40

  
41
	print "\n*** Welcome to pfSense {$version}-{$platform} on {$hostname} ***\n";
40
	$product  = $g['product_name'];
41
	
42
	print "\n*** Welcome to {$product} {$version}-{$platform} on {$hostname} ***\n";
42 43

  
43 44
	/* get our initial interface list */
44 45
	$vfaces = array(

Also available in: Unified diff