diff options
author | thompsa <andy@fud.org.nz> | 2009-12-27 11:41:05 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2009-12-27 11:41:05 +1300 |
commit | a0bb5a4d4af023fd8d8c23ee4451449390280c4e (patch) | |
tree | f751cb6c1fb422b7dfac85fa29321bd81e91a913 /etc/inc/rrd.inc | |
parent | ec51a2224e6d25056cf5c12a8b5def5dfb5b1a48 (diff) | |
download | pfsense-a0bb5a4d4af023fd8d8c23ee4451449390280c4e.zip pfsense-a0bb5a4d4af023fd8d8c23ee4451449390280c4e.tar.gz |
Also match umodem for the UM175 unit.
Diffstat (limited to 'etc/inc/rrd.inc')
-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 1748d94..76aac89 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -620,7 +620,7 @@ function enable_rrd_graphing() { $rrdupdatesh .= "\n"; $rrdupdatesh .= "# polling 3G\n"; - $rrdupdatesh .= "dev=`usbconfig show_ifdrv | awk -F. '/ u3g/ {print \"/dev/\" $1 \".\" $2}'`\n"; + $rrdupdatesh .= "dev=`usbconfig show_ifdrv | awk -F. '/ u3g|umodem/ {print \"/dev/\" $1 \".\" $2}'`\n"; $rrdupdatesh .= "if [ -n \"\$dev\" ]; then $rrdtool update $rrddbpath$ifname$cellular N:`3gstat -s -d \$dev`\n"; $rrdupdatesh .= "else $rrdtool update $rrddbpath$ifname$cellular N:U:U; fi\n"; } |