> Package: smstools > Version: 3.1.14-1 > Severity: minor > > > Hi, > > Smstools currently checks a couple of directories every x seconds. > That is inefficient: > 1. it doesn't react immediately on new outgoing sms messages, delaying their > transmission > 2. it polls when it is not neccessary, using system resources > > Regarding point 2: this is a real problem in situations where for example a > simple server like a raspberry pi is used. > > I suggest to use inotify: smstools can then sleep forever and as soon as a > new file appears in its outbound directory, >it is woken up immediately. > Of course it needs to explicitly scan the outbound directory when it starts > up as new files may have appeared while it was not running. >
Thanks for the suggestion. Version 3.1.17 (upstream) can now use inotifywait, if user wants and needs to use it. Regards, Keke