mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
smstools3: Move init script to use procd
* properly install config file * prevent smsd from starting right after installation to prevent loss of data (make default device unavailable by turning configuration into comments) * move init script to procd * update init script priority to sane value * log to syslog - at the moment via stdout and procd this is a workaround to force smsd to stay in the foreground * the init script can't do a modem reset anymore use an alarmhandler script instead * add a local patch to make all processes terminate if the main process dies * take over the package as new maintainer Signed-off-by: Harald Geyer <harald@ccbib.org>
This commit is contained in:
@@ -10,11 +10,15 @@ failed = /var/spool/sms/failed
|
||||
sent = /var/spool/sms/sent
|
||||
receive_before_send = no
|
||||
autosplit = 3
|
||||
logfile = 1
|
||||
loglevel = 5
|
||||
|
||||
[GSM1]
|
||||
init = AT+CPMS="ME","ME","ME"
|
||||
device = /dev/ttyUSB0
|
||||
incoming = yes
|
||||
pin = 0000
|
||||
baudrate = 9600
|
||||
# Uncomment (and edit) this section to allow smsd to start:
|
||||
#
|
||||
#[GSM1]
|
||||
#init = AT+CPMS="ME","ME","ME"
|
||||
#device = /dev/ttyUSB0
|
||||
#incoming = yes
|
||||
#pin = 0000
|
||||
#baudrate = 115200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user