The list of devices was made in such a way that if wildcard is used, only one definition is allowed.
modem1,modem2,sgTam* 0-31 does not work properly, because it creates modem1 and modem2 multiple times.
This will be changed in the next version. Smsd will then accept multiple wildcard definitions and also static names mixed with them.
I do not yet publish a new version, because this is a minor issue for most users, and probably some other grouping options are going to be released at the same time.
For example:
devices = modem1, sgTam* 0-31, modem2, sgGar* 0-31
[default]
#These settings are applied for all modems
[sgTam*]
#Settings for sgTam modems only, overrides default section
[sgGar*]
#Settings for sgGar modems only, overrides default section
[sgTam0]
#Settings for sgTam0 modem, overrides sgTam* and default sections
and so on...
'smsdconf' Syntax Highlight powered by GeSHi In addition,
suspend could also accept wildcard, in which case one group of modems can be suspended easily, like
sgTAM*: Service break.
If you have any ideas about grouping, or anything, please let me know.