wpj428/files/usr/sbin/wwan_loop
Quentin Dufour 7ef652b184 Correction XDP file path, wwan_loop service and add hotplug iface wwan script
XDP file path was in the var folder which is a virtual link to tmp folder.

add hotplug script to put the script xdp on the interface wwan when the command ifup -a wwan0 is called.

wwan_loop service crash on the launch, because it launched before the interface wwan set up.
2022-04-16 17:25:28 +01:00

6 lines
127 B
Bash
Executable file

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