diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 20:07:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 20:07:00 +0000 |
commit | 1f0772b8c082a260b1458158164be3b92b4ed4cb (patch) | |
tree | 2f9bdd549b07a094bcd587f3919fac869c8f4d53 /etc | |
parent | 6a669fb0922b949ab42d7ac40da59777cbae1f80 (diff) | |
download | pfsense-1f0772b8c082a260b1458158164be3b92b4ed4cb.zip pfsense-1f0772b8c082a260b1458158164be3b92b4ed4cb.tar.gz |
Do not spam rrd status on bootup, it makes the bootup look out of place
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 9104b68..8673d71 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1994,22 +1994,22 @@ function enable_rrd_graphing() $rrdupdatesh .= "sleep 60\n"; $rrdupdatesh .= "done\n"; - PRINT "Creating rrd update script\n"; /* write the rrd update script */ $updaterrdscript = "{$g['vardb_path']}/rrd/updaterrd.sh"; $fd = fopen("$updaterrdscript", "w"); fwrite($fd, "$rrdupdatesh"); fclose($fd); - PRINT "Creating rrd graph index\n"; /* write the index.html script */ $rrdgraphindex = "{$g['vardb_path']}/rrd/index.html"; $fd = fopen("$rrdgraphindex", "w"); fwrite($fd, "$rrdgraphindexhtml"); fclose($fd); - /* print database creation errors. */ - print "$rrdcreatel\n"; + /* save rrd error. */ + $fd = fopen("/tmp/rrd_errors", "w"); + fwrite($fd, "$rrdcreatel"); + fclose($fd); /* kill off traffic collectors */ kill_traffic_collector(); |