mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
17 lines
253 B
SYSTEMD
17 lines
253 B
SYSTEMD
|
[Unit]
|
||
|
Description=Start ppp0 interface
|
||
|
BindsTo=dev-ttyUSB0.device
|
||
|
After=dev-ttyUSB0.device
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/sbin/ifup ppp0
|
||
|
ExecStop=/sbin/ifdown ppp0
|
||
|
|
||
|
[Install]
|
||
|
Alias=startppp0.service
|
||
|
WantedBy=multi-user.target
|
||
|
|
||
|
|