wpj428/files/usr/sbin/wwan_loop

3 lines
96 B
Bash
Executable file

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