Add warnings to modem scripts if the modem is not present

This commit is contained in:
Miles Alan 2020-05-20 16:52:00 -05:00
parent b4c02acb76
commit fa3550c638
6 changed files with 25 additions and 6 deletions

View file

@ -12,7 +12,7 @@ touch $UPDATEFILE
while :
do
# M symbol if modem monitoring is on
# M symbol if modem monitoring is on & modem present
MODEMMON=""
pgrep -f sxmo_modemmonitor.sh && MODEMMON="M "

View file

@ -7,7 +7,6 @@ xmodmap /usr/share/sxmo/xmodmap_caps_esc
xsetroot -mod 3 2 -fg '#000000' -bg '#888888'
xset s off -dpms
alsactl --file /usr/share/sxmo/default_alsa_sound.conf restore
sxmo_modemmonitor.sh &
#xset r off
# E.g. for PBP