sxmo-utils/scripts/modem
Stacy Harper f9b96d2d28 Update modem status state on errors
If modemmonitor crash for some reason, status bar is not updated. The
reason is that statusbar check if modemmonitor is running, which it is
when trying to shutdown itself.

We change the way modemmonitor is detected using a single modem state
file. If the file is not present, then the monitor is considered not
running.

This single file permit to add more state in the future, without adding
any more files.

We also add a sleep 1, look like it is required to have instand status
bar update.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-05 12:04:34 +02:00
..
sxmo_modemcall.sh Moved checkmark to icons 2021-03-16 22:01:41 +01:00
sxmo_modemdial.sh Add a dsubmenu to reply/call on SMS windows 2021-03-27 23:22:40 +01:00
sxmo_modeminfo.sh Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible 2021-02-01 18:32:32 +01:00
sxmo_modemlog.sh Call common script, moved icons to common script, removed unnecessary aliases from common (let's add them only when there are conflicts), made sure plays along with shellcheck 2021-02-01 18:32:32 +01:00
sxmo_modemmonitor.sh Update modem status state on errors 2021-04-05 12:04:34 +02:00
sxmo_modemmonitortoggle.sh Call common script, moved icons to common script, removed unnecessary aliases from common (let's add them only when there are conflicts), made sure plays along with shellcheck 2021-02-01 18:32:32 +01:00
sxmo_modemsendsms.sh Do not truncate stderr file output 2021-03-17 22:32:29 +01:00
sxmo_modemtext.sh Rework of the sxmo_modemtext with benefit 2021-04-05 12:00:49 +02:00
sxmo_unlocksim.sh minor fixes to satisfy shellcheck 2021-03-31 20:14:53 +02:00