Shellcheck and tabindent all scripts
This commit is contained in:
parent
bd5ead19e5
commit
049a93e5d8
25 changed files with 589 additions and 534 deletions
scripts/modem
|
@ -1,5 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
pgrep -f sxmo_modemmonitor.sh && pkill -9 -f sxmo_modemmonitor.sh || sxmo_modemmonitor.sh &
|
||||
if pgrep -f sxmo_modemmonitor.sh; then
|
||||
pkill -9 -f sxmo_modemmonitor.sh
|
||||
else
|
||||
sxmo_modemmonitor.sh &
|
||||
fi
|
||||
|
||||
rm /tmp/sxmo_incomingcall
|
||||
|
||||
# E.g. wait until process killed or started -- maybe there's a better way..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue