#!/bin/sh
while true; do
mmcli --modem 0 --monitor-state | while read r ; do /usr/sbin/wwan_reconnect ; done
sleep 5
done