collectd: sqm_collectd improve interface name filter
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 7 May 2020 08:43:27 +0000 (09:43 +0100)
committerKevin Darbyshire-Bryant <6500011+ldir-EDB0@users.noreply.github.com>
Thu, 7 May 2020 09:48:45 +0000 (10:48 +0100)
commitc8640d1f68321c092542f91adc33f3d21fcecd18
tree7dec3ecde3e213d103f464fc1e2198f6bb53c284
parent0ec076cf56c08809f809101d12b3540c04a456f7
collectd: sqm_collectd improve interface name filter

Increase the range of characters that get substituted by '_' so the
shell doesn't complain about illegal variable names.

Primarily done to catch '.' and '-' but who knows what funnies will
appear in i/f names.

It's a shame that busybox ash doesn't understand :alnum:

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
utils/collectd/Makefile
utils/collectd/files/exec-scripts/sqm_collectd.sh