Clean up modem functionality & don't ever kill dmenu; move call monitoring to call script
This commit is contained in:
parent
3c5a85a9a1
commit
a4b2724c4a
4 changed files with 192 additions and 188 deletions
scripts/modem
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue