diff options
author | smos <seth.mos@dds.nl> | 2012-06-02 10:19:24 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-06-02 10:19:46 +0200 |
commit | 488595df35a0e245790e7cf559938c57ffc2d4a4 (patch) | |
tree | 789bd1964d3904c9515a9960679712ffdb572b1c /etc | |
parent | d27a8a3d39e8e951b485e1eb915b874a67ce47fe (diff) | |
download | pfsense-488595df35a0e245790e7cf559938c57ffc2d4a4.zip pfsense-488595df35a0e245790e7cf559938c57ffc2d4a4.tar.gz |
Escape the shell variable
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/rrd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index a427feb..31b4b6d 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -391,7 +391,7 @@ function enable_rrd_graphing() { $rrdupdatesh .= "\n"; $rrdupdatesh .= "# polling wireless for interface $ifname $realif \n"; $rrdupdatesh .= "WIFI=`$ifconfig {$realif} list sta| $awk 'gsub(\"M\", \"\") {getline 2;print substr(\$5, 0, length(\$5)-2) \":\" $4 \":\" $3}'`\n"; - $rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$wireless N:${WIFI}\n"; + $rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$wireless N:\${WIFI}\n"; } /* OpenVPN, set up the rrd file */ |