You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
245 B

#!/usr/bin/env sh
pgrep -f sxmo_modemmonitor.sh && pkill -9 -f sxmo_modemmonitor.sh || sxmo_modemmonitor.sh &
rm /tmp/sxmo_incomingcall
# E.g. wait until process killed or started -- maybe there's a better way..
sleep 1
echo 1 > /tmp/sxmo_bar