Clean up modem functionality & don't ever kill dmenu; move call monitoring to call script

This commit is contained in:
Miles Alan 2020-06-18 19:05:09 -05:00
parent 3c5a85a9a1
commit a4b2724c4a
4 changed files with 192 additions and 188 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh
if pgrep -f sxmo_modemmonitor.sh; then
pkill -9 -f sxmo_modemmonitor.sh
pgrep -f sxmo_modemmonitor.sh | grep -Ev "^${$}$" | xargs -IP kill -TERM P
else
sxmo_modemmonitor.sh &
fi