Accepting request 545313 from home:13ilya:branches:network

- Refresh spec-file via spec-cleaner.
- Add ppp-modem package for automatic redial to mobile provider.

OBS-URL: https://build.opensuse.org/request/show/545313
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=45
This commit is contained in:
OBS User mrdocs
2017-12-02 04:17:03 +00:00
committed by Git OBS Bridge
parent 291f847d16
commit d4a837a1b8
6 changed files with 122 additions and 33 deletions

13
modem@.service Normal file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Modem /dev/ttyACM%i
BindsTo=dev-ttyACM%i.device
After=dev-ttyACM%i.device
Before=network.target
Wants=network.target
[Service]
Group=dialout
ExecStart=/usr/sbin/pppd call modem /dev/ttyACM%i
[Install]
WantedBy=multi-user.target