6 |
# * internal |
# * internal |
7 |
# * smstools |
# * smstools |
8 |
# * debug |
# * debug |
9 |
transceiver = smstools |
transceiver = debug |
10 |
|
|
11 |
|
|
12 |
#Which user / group should the daemon run as |
#Which user / group should the daemon run as |
26 |
# Several plugin statements are allowed |
# Several plugin statements are allowed |
27 |
# syntax |
# syntax |
28 |
# plugin = <pluginname> [arguments] |
# plugin = <pluginname> [arguments] |
29 |
|
# General arguments |
30 |
|
# privileged - if this is set to 1(one) only the phones in the privileged list are allowed |
31 |
|
# to invoke the plugin |
32 |
plugin = echo |
plugin = echo |
33 |
plugin = spam |
plugin = spam privileged=1 |
34 |
plugin = status |
plugin = status |
35 |
plugin = hoststatus |
plugin = hoststatus |
36 |
plugin = tog |
plugin = tog |
39 |
plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php |
plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php |
40 |
plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0 |
plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0 |
41 |
plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1 |
plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1 |
42 |
|
plugin = shellexec trigger=fortune; cmd=/usr/games/fortune -s -n 300 ; allowparms=0; returnoutput=1 |
43 |
|
|
44 |
# Option task |
# Option task |
45 |
# Specify which tasks should be loaded |
# Specify which tasks should be loaded |
51 |
# starting with this |
# starting with this |
52 |
countrycode = 45 |
countrycode = 45 |
53 |
|
|
54 |
|
# Option blacklist |
55 |
|
# A comma seperated list of phone numbers that should be ignored |
56 |
|
# regarding both incomming and outgoing messages |
57 |
|
# Note: it is a good idea to put the servers own phonenumber in this list |
58 |
|
blacklist = 4542407617, |
59 |
|
|
60 |
|
# Option privileged |
61 |
|
# A comma seperated list of privileged phonenumbers |
62 |
|
privileged = 4522337617 |
63 |
|
|
64 |
|
|
65 |
#config section for internal gsm modem transceiver |
#config section for internal gsm modem transceiver |
66 |
[gsmmodem] |
[gsmmodem] |
67 |
|
|
81 |
|
|
82 |
# Option inboxdir |
# Option inboxdir |
83 |
# where should the files be read from |
# where should the files be read from |
84 |
inboxdir = /var/spool/sms/inbox |
inboxdir = /home/torben/smstool |
85 |
|
|
86 |
# Option outgoingdir |
# Option outgoingdir |
87 |
# where should the outgoing messages be written |
# where should the outgoing messages be written |
88 |
outgoingdir = /var/spool/sms/outgoing |
outgoingdir = /home/torben/smstool |