2018-05-25 00:01:52 -04:00
|
|
|
# wwan_iface_watchdog script for OpenWRT
|
|
|
|
|
|
|
|
|
|
Watches for disconnected wwan interface and restarts interface.
|
2018-05-25 00:00:28 -04:00
|
|
|
|
|
|
|
|
Copy to /etc/init.d/wwan_iface_watchdog:
|
|
|
|
|
|
|
|
|
|
scp ./wwan-iface-watchdog root@192.168.1.1:/etc/init.d/
|
|
|
|
|
|
|
|
|
|
Start service:
|
|
|
|
|
|
|
|
|
|
/etc/init.d/wwan-iface-watchdog start
|
|
|
|
|
|
2018-05-25 00:01:52 -04:00
|
|
|
Enable service (starts automatically on boot):
|
2018-05-25 00:00:28 -04:00
|
|
|
|
|
|
|
|
/etc/init.d/wwan-iface-watchdog enable
|