Sane message when terminating call with unknown number and more verbose output to stderr from modem scripts
This commit is contained in:
parent
fc051045c9
commit
4a90d86f56
4 changed files with 23 additions and 10 deletions
|
@ -4,6 +4,7 @@ trap "gracefulexit" INT TERM
|
|||
fatalerr() {
|
||||
# E.g. hangup all calls, switch back to default audio, notify user, and die
|
||||
mmcli -m "$(mmcli -L | grep -oE 'Modem\/([0-9]+)' | cut -d'/' -f2)" --voice-hangup-all
|
||||
echo "$1" >&2
|
||||
notify-send "$1"
|
||||
(sleep 0.5; sxmo_statusbarupdate.sh) &
|
||||
kill -9 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue