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