Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
internet_connection_watchdog [17.06.2018 21:54] – [SMS] Pascal Suter | internet_connection_watchdog [17.06.2018 22:20] – [SMS] Pascal Suter | ||
---|---|---|---|
Line 26: | Line 26: | ||
debuglevel = 0 | debuglevel = 0 | ||
RunOnReceive = / | RunOnReceive = / | ||
+ | </ | ||
+ | * ''/ | ||
+ | device = %PORT% | ||
+ | connection = at | ||
</ | </ | ||
* ''/ | * ''/ | ||
#!/bin/bash | #!/bin/bash | ||
port=$(gammu-detect | grep -B1 TP-LINK | grep ttyUSB | tail -n 1 | awk -F = ' | port=$(gammu-detect | grep -B1 TP-LINK | grep ttyUSB | tail -n 1 | awk -F = ' | ||
- | sed -e " | + | sed -e " |
- | sed -e " | + | sed -e " |
</ | </ | ||
* installation: | * installation: | ||
* <code bash process-sms.sh># | * <code bash process-sms.sh># | ||
for i in `seq $SMS_MESSAGES` ; do | for i in `seq $SMS_MESSAGES` ; do | ||
- | | + | numvar=" |
- | | + | textvar=" |
echo " | echo " | ||
- | if [ " | + | if [ " |
echo " | echo " | ||
fi | fi |