summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-21 15:41:56 +0200
committersmos <seth.mos@dds.nl>2012-05-21 15:41:56 +0200
commit2b095a33238169fc1be2a3cbe4586e3216bb07fa (patch)
tree336bdeb89ef402891e96b75cd8ef8ac58bb80e37 /etc/inc
parent852171dd3082d2789324f212e9e2a9d074d79896 (diff)
downloadpfsense-2b095a33238169fc1be2a3cbe4586e3216bb07fa.zip
pfsense-2b095a33238169fc1be2a3cbe4586e3216bb07fa.tar.gz
Correct the rrd update command
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/rrd.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index a6b4dc0..a427feb 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -561,8 +561,8 @@ function enable_rrd_graphing() {
$rrdupdatesh .= "\n";
$rrdupdatesh .= "# polling 3G\n";
- $rrdupdatesh .= "3GSTATS=`awk -F, 'getline 2 {print \$2 \":\" \$8 \":\" \$9}' < /tmp/3gstats.$ifname\`\n";
- $rrdupdatesh .= "$rrdtool update N:\"\$3GSTATS\"";
+ $rrdupdatesh .= "GSTATS=`awk -F, 'getline 2 {print \$2 \":\" \$8 \":\" \$9}' < /tmp/3gstats.$ifname`\n";
+ $rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$cellular N:\"\$GSTATS\"";
}
}
OpenPOWER on IntegriCloud