6 use File
::Slurp qw
/slurp/;
8 App
::RemoteGnokii
::action
(@ARGV[0 .. 1], slurp \
*STDIN
);
15 rg-action - gnokii-smsd action that forwards messages
19 smsd -m file -u /path/to/rg-action ...
23 This script is a gnokii-smsd action that forwards each received mesage to a given number.
32 The first line is the password (from the configuration file), the second is the phone number of the sender, the third is the date when the message was received, and the fourth (and later) lines are the message text.
40 The basename of the configuration file. For example, if the configuration file is '/srv/rg/config.yml', RGCONF should be set to '/srv/rg/config'. Defaults to '/etc/rg'.
50 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
52 =head1 COPYRIGHT AND LICENSE
54 Copyright (C) 2014 by Marius Gavrilescu
56 This library is free software: you can redistribute it and/or modify
57 it under the terms of the GNU General Public License as published by
58 the Free Software Foundation, either version 3 of the License, or (at
59 your option) any later version.
This page took 0.020539 seconds and 4 git commands to generate.