21 lines
503 B
Markdown
21 lines
503 B
Markdown
|
# `modem-restart`
|
||
|
## Overview
|
||
|
This repository defines a `systemd` service that, as a workaround,
|
||
|
automatically restarts `eg25-manager` each time the modem crashes.
|
||
|
While a big effort is being made to improve modem stability, it
|
||
|
still crashes from time to time, specially if CPU suspend is used.
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
- `lsusb`
|
||
|
- `eg25-manager`
|
||
|
- `systemd`
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```sh
|
||
|
# cp modem-restart.service /etc/systemd/system/
|
||
|
# cp modem-restart /usr/local/bin
|
||
|
# systemctl enable modem-restart.service
|
||
|
```
|